Skip to content
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

Deleting a project entity through the project page doesn't remove the entity from the database #36

Open
minorOffense opened this issue Jul 8, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@minorOffense
Copy link
Member

Even if you select "remove this entity from the system" the inline entity form doesn't remove the entity.

@ClassicCut
Copy link
Contributor

@minorOffense I think by default the behaviour for inline entities being deleted using the method you described is to wait until the parent form is submitted. Only at that point is the entity actually deleted.

I confirmed that this behaviour works by deleting the inline entity, and then adding a new entity (to satisfy form validation). When submitting the parent form, the first inline entity then gets deleted.

@minorOffense
Copy link
Member Author

In that case we should remove the required field stuff so you can remove the entity and hit delete without validation error.

Or add a skip validation on delete calls (probably a better option)

@minorOffense minorOffense added this to the v1.0 milestone Aug 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants