-
Notifications
You must be signed in to change notification settings - Fork 118
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 file upload in collections #276
Conversation
It would be nice to have a test proving that there's an issue at all, as well as proving that this change fixes it, also to avoid future regressions. |
Could you set up such a failing scenario, e.g. by forking the demo bundle and modifying the photo upload flow? |
@craue Yes, i will see what i can do. |
Hi, I just met this issue. |
@jwaschkau, any progress? |
This should be merged. |
A test is still needed. |
What exactly is the issue here? Could you explain? |
I can't fix something that's not proven to be broken. |
Hi @craue, |
@jwaschkau, alright. Never mind then. 😏 @syeikhanugrah, could you give some more details on how to reproduce the issue? |
@craue I've created repo for this issue: https://github.com/syeikhanugrah/CraueFormFlowBundle276, and try to replace with this: https://gist.github.com/syeikhanugrah/906406e47ec3d763d1fd7d270919e77b. Because array_merge_recursive doesnt overwrite existing value, but appended to the new ArrayCollection. |
@syeikhanugrah 's solution is correct. Is it possible to correct this problem? |
Unfortunately, the repo @syeikhanugrah mentions is unavailable. We got no test or code exposing the problem and I'm still unable to see the issue. Please enlighten me, @blump. |
No description provided.