Skip to content

[5.4] Fix unset operation on field variable#47461

Open
ramalama wants to merge 1 commit intojoomla:5.4-devfrom
ramalama:bugfix-#47451
Open

[5.4] Fix unset operation on field variable#47461
ramalama wants to merge 1 commit intojoomla:5.4-devfrom
ramalama:bugfix-#47451

Conversation

@ramalama
Copy link
Copy Markdown

Pull Request resolves #47451.

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

Fixes wrong implementation of element removal in Form->load with overwrite=false.

Testing Instructions

see #47451 for now

Actual result BEFORE applying this Pull Request

see #47451 for now

Expected result AFTER applying this Pull Request

see #47451 for now

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@ramalama
Copy link
Copy Markdown
Author

new PR instead of #47452

@richard67 richard67 changed the title Fix unset operation on field variable [5.4] Fix unset operation on field variable Mar 24, 2026
@richard67 richard67 added the bug label Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Form->load($data, false) doesn't remove existing xml elements but adds them again = >leads to overwriting form fields in the wrong direction

3 participants