Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

EZP-31811: Fixed deleted relation fieldtypes #101

Merged
merged 1 commit into from
Aug 28, 2020
Merged

EZP-31811: Fixed deleted relation fieldtypes #101

merged 1 commit into from
Aug 28, 2020

Conversation

barw4
Copy link
Member

@barw4 barw4 commented Aug 26, 2020

Question Answer
JIRA issue EZP-31811
Type bug
Target eZ Platform version v3.1
BC breaks no
Tests pass yes
Doc needed no

Deleted 'Content relation' fieldtype results in an error when editing Content possessing this relation previously. When the relation does not exist anymore mappedRelations will be build and throw an exception before.

Checklist:

  • PR description is updated.
  • Added code follows Coding Standards (use $ composer fix-cs).
  • PR is ready for a review.

@barw4 barw4 added Bug Something isn't working Ready for review labels Aug 26, 2020
@barw4 barw4 self-assigned this Aug 26, 2020
@lserwatka lserwatka merged commit 66a408c into 1.1 Aug 28, 2020
@lserwatka lserwatka deleted the EZP-31811 branch August 28, 2020 11:06
@lserwatka
Copy link
Member

You can merge it up.

@barw4
Copy link
Member Author

barw4 commented Aug 28, 2020

Merged: 477a7ab

@Pyposs
Copy link

Pyposs commented Oct 16, 2020

Hello,

It seems that the relationship is preserved. But when publishing the content the field is avoided. Relations should not be deleted when content type is modified ?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug Something isn't working QA approved
Development

Successfully merging this pull request may close these issues.

6 participants