Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Fix Child "_delete" does not exist. #558

Merged
merged 1 commit into from
Sep 30, 2019
Merged

Fix Child "_delete" does not exist. #558

merged 1 commit into from
Sep 30, 2019

Conversation

sad270
Copy link
Contributor

@sad270 sad270 commented Sep 30, 2019

Subject

If current role is not allowed to delete the item the _delete checkboxes are not added in items.
And when we submit the form we have Child "_delete" does not exist. error.

I am targeting this branch, because this is a patch with BC.

Changelog

### Fixed
- `Child "_delete" does not exist` in Collection when we don't have delete permission

If current role is not allowed to delete the item the `_delete` checkboxes are not added in items.
@phansys
Copy link
Member

phansys commented Sep 30, 2019

Related to sonata-project/SonataAdminBundle#5532.

@phansys phansys added the patch label Sep 30, 2019
@greg0ire greg0ire merged commit b5a8954 into sonata-project:2.x Sep 30, 2019
@greg0ire
Copy link
Contributor

Thanks @sad270 !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants