Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Fix JForm::load() not replacing form field in same location (Issue #129) #1069

Merged
merged 2 commits into from
Apr 13, 2012

Conversation

aaronschmitz
Copy link
Contributor

This code causes JForm to replace fields in place when a new definition is loaded to replace the old definition. Duplicate fields will now remain in their original location rather than being moved to the end of the document.

…d to replace the old definition. Duplicate fields will now remain in their original location rather than being moved to the end of the document.
@LouisLandry
Copy link
Contributor

What are the odds of getting you to write unit tests for this?

@aaronschmitz
Copy link
Contributor Author

@LouisLandry what are the odds of me getting to do GSoC with you guys? The two are about the same :D
Just kidding - I'll added them ASAP.

…h replacement the first n name fields are in the same as those of the replaced form where n is the length of the replaced form.
@elinw
Copy link
Contributor

elinw commented Mar 30, 2012

Aaron,
It would be awesome to get this into the cms release, would you want to make the same pull request on the cms repo?

chdemko added a commit that referenced this pull request Apr 13, 2012
Fix JForm::load() not replacing form field in same location (Issue #129)
@chdemko chdemko merged commit 19469d4 into joomla:staging Apr 13, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants