Project

General

Profile

Actions

Bug #91894

closed

Cast transOrigPointerField value to integer to ensure return type matches

Added by Daniel Siepmann over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Start date:
2020-07-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When using sqlite, data fetched from DB is not of expected data types.
Therefore some return type hints will break.

In order to not break resolvePreviewRecordId(), there has to be a cast.

This prevents users from editing translated records.

Actions

Also available in: Atom PDF