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

Fix FlexFormTools callbackFunction #584

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jpmschuler
Copy link
Contributor

During 12LTS migration an EXT:cal upgrade wizard failed because FlexFormTools8::cleanFlexFormXML_callBackFunction() created an exception.

After applying the migration path from https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.5/Deprecation-95254-TwoFlexFormToolsMethods.html to fix that exception the further calls relied on an $pObj->traverseFlexFormXMLData_Data which I couldn't resolve to anything. So probably as of time of writing this was always null and probably thus nothing much was done in that if. The remainder of the function is from the base function, so I propose to just delete it.

While that resolves my updater issues, I don't have enough insight to prove that there are no race conditions from this, so please check this
¯\_(ツ)_/¯

as the only difference to the base method relies on a not existing parameter
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.

1 participant