-
Notifications
You must be signed in to change notification settings - Fork 27
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
EZP-28226: User can't add more fields after removing several of them #187
Conversation
@micszo This needs to be rebased on master in order to work in v2. Please test on 1.7 first. |
Retest OK with eZ Platform EE v1.7. |
Retest OK with eZ Platform EE v1.13.0-beta1 with this branch. |
@webhdx is it possible to test with v2 before merge? |
Retest OK with eZ Platform EE v2 with patch. |
@webhdx could you merge this up? |
@lserwatka Done. |
@webhdx This one breaks unit test on 1.10 and up:
|
And here on 1.5 it break PHP parsing on PHP 5.6:
|
Description
This PR fixes Content Type Edit > Add Field Definition action which had been failing if first field definitions were removed. It was caused by assigning already existing identifier. I created a method which resolves new name making sure it doesn't exist in edited Content Type.
Remarks
It has to be ported upwards to 1.10 and master.