-
Notifications
You must be signed in to change notification settings - Fork 465
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
[Content Types] : Deleting field is throwing an error #20342
Labels
Changelog: Documented
dotCMS : Content Management
Merged
QA : Approved
QA : Passed Internal
Release : 5.3.8.6
Included in LTS patch release 5.3.8.6
Type : Defect
Comments
jcastro-dotcms
added a commit
that referenced
this issue
May 4, 2021
…trying to create relationships in any Relationship field even after simply deleting or moving other fields. The code in charge of moving and deleting fields is now setting the skip Relationship creation parameter to "true" so that this doesn't happen. Also, logging the error when the field layout is invalid, and adding Javadoc.
fmontes
pushed a commit
that referenced
this issue
May 7, 2021
As per discussion with Freddy R, we noticed that the API is trying to create relationships in any Relationship field even after simply deleting or moving other fields. The code in charge of moving and deleting fields is now setting the skip Relationship creation parameter to "true" so that this doesn't happen. Also, logging the error when the field layout is invalid, and adding Javadoc. (#20344)
This is breaking the relationships, aren't being saved at all. |
Temporarily removing the |
erickgonzalez
added a commit
that referenced
this issue
May 12, 2021
Fixed, tested with a provided data set and now we are able to delete the field without problems. Tested on release-21.06 // Postgres // FF |
jcastro-dotcms
added a commit
that referenced
this issue
Aug 19, 2021
jcastro-dotcms
added
LTS: Released
Release : 5.3.8.6
Included in LTS patch release 5.3.8.6
and removed
LTS : Next
Ticket that will be added to LTS
labels
Aug 19, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Changelog: Documented
dotCMS : Content Management
Merged
QA : Approved
QA : Passed Internal
Release : 5.3.8.6
Included in LTS patch release 5.3.8.6
Type : Defect
Reported via Support: 103972
Reproducible in dotCMS 5.3.6.3, and latest master
Deleting a field from a given Content Type is throwing an error related to a completely different field. The same thing happens when moving any field around. The error is related to a
Relationship
field, as it seems the code is having problems updating its properties.To Reproduce
NOTE: Please reach out to Jose Castro for the specific data source, and the steps to reproduce. This issue is not reproducible with the Demo Starter:
Expected behavior
Users must be able to delete fields without problems.
Additional context
Went through the field delete logic with @freddyucv , and found a potential bug in our API.
The text was updated successfully, but these errors were encountered: