-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Form Collection No element by the name of [2] found in form
#6585
Comments
Removing |
@gregorybesson If you want to use the version 2.3.2. You could fork zf2 repo at 2.3.2, apply the fix to it and then tell composer to use your patched version instead the original. Details on how to do this can be found here: https://getcomposer.org/doc/05-repositories.md#vcs |
Thanks @vixriihi, I've done it previously but I'll keep waiting for the official release ;) |
Same bug in my app :( |
Same issue here. Issue seems to be solved when using a basefieldset in the form. |
+1 This following pull request helped solving this issue for me and will also work for 2.3.3 |
I created a pull request for a different bug (#6711) and removal of |
@Martin-P I know that removing the line you referred dons't break any of the existing tests that's why I added two tests in #6614 test "testAddingCollectionElementAfterBind" that fails when |
@Martin-P Couple of days ago i had the same problem, I was looking for code in github and found. |
@sebob that seems to be from the first fix sketch and it would fix the issue also, but you'll also need to change the line to '$data = $this->extract(false);' to pass all the tests. Not sure if there is something else different with the files you linked. I ditched that version because it seemed more elegant to have single purpose methods in this case. |
IMO the main issue is |
Agree with you completely :) |
We also have some production issues with this one. Any idea when this will be merged so that the collection component is functional again? |
+1 We have the same problems on adding new elements per Javascript. |
+1 same here ... hopefully the bugfix gets merged soon |
I think this has to do with how you set collection filters |
+1 running into the same bug on my app when adding elements per javascript |
+1 same problem by adding elements via js |
+1 same problem by adding elements via js .... |
+1 having the same issue when elements are added via js from template. Would be good for a fix to be merged. vixriihi@da60434 Seems to fix the issue for me |
+1 same issue :( |
Handled in #6614 |
This line of code
$objectData = $this->extract();
introduced in this commit of 2.3.2 https://github.com/zendframework/zf2/pull/6295/files#diff-72ef5001dbc9de4cbafeb235edb1c543R573 caused a problem in my application, I have a form and a fieldset (collection) inside it and when I add new row of the collection using javascript and try to save the form I get the following error:and when I remove the line I mentioned in the beginning everything works fine...
The text was updated successfully, but these errors were encountered: