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] Fixes "never reached localized form record UID" bug. #670

Closed

Conversation

zoranilic
Copy link

If localized form record exists BackendUtilityCore::getRecordLocalization method will return array with one element which is an array of localized form data. Not the array of form data directly.
This fix solves the bug by fetching the first element in array and then get the UID of localized record.
$row is renamed to $results here. So, it should be "$results[0]['uid']" rather then "$results['uid']".

If localized form record exists BackendUtilityCore::getRecordLocalization method will return array with one element which is an array of localized form data. Not the array of form data directly.
This fix solves the bug by fetching the first element in array and then get the UID of localized record.
@einpraegsam einpraegsam force-pushed the develop branch 4 times, most recently from a31ca4e to 43b5957 Compare July 8, 2022 10:49
@mschwemer mschwemer deleted the branch in2code-de:master December 28, 2023 10:19
@mschwemer mschwemer closed this Dec 28, 2023
@mschwemer mschwemer reopened this Dec 28, 2023
@mschwemer mschwemer changed the base branch from develop to master September 18, 2024 11:04
@mschwemer
Copy link
Collaborator

I cannot see an issue here. Tested with TYPO3 v12 and EXT:powermail v.12.4.1

If you think, that it is still an issue, please re-open it and provide more info and an updated PR

Thx

@mschwemer mschwemer closed this Sep 25, 2024
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.

2 participants