Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Cannot add new address record in TYPO3 v12 PHP 8.2 #512

Merged
merged 2 commits into from
Jan 8, 2024
Merged

[BUGFIX] Cannot add new address record in TYPO3 v12 PHP 8.2 #512

merged 2 commits into from
Jan 8, 2024

Conversation

MisterMarlu
Copy link
Contributor

The code has been adjusted to handle situations where the UID is not numeric in the Label.php class (e.g. a new record). Instead of directly casting the UID to an integer, it is first checked whether the UID is numeric. If it is not, the row is fetched directly from the parameters. This aims to prevent potential casting errors and provides more robust handling for uid parameters.

Resolves: #511

The code has been adjusted to handle situations where the UID is not numeric in the Label.php class (e.g. a new record). Instead of directly casting the UID to an integer, it is first checked whether the UID is numeric. If it is not, the row is fetched directly from the parameters. This aims to prevent potential casting errors and provides more robust handling for uid parameters.

Resolves: #511
@georgringer georgringer merged commit 6dc5661 into FriendsOfTYPO3:master Jan 8, 2024
3 of 4 checks passed
@MisterMarlu MisterMarlu deleted the bugfix/511_new-records branch January 9, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot add new address record in TYPO3 v12 PHP 8.2
2 participants