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 post deletes user roles & comments of any entry with the same ID #93

Closed
mkalam-alami opened this issue Aug 23, 2017 · 1 comment
Labels

Comments

@mkalam-alami
Copy link
Contributor

mkalam-alami commented Aug 23, 2017

See https://alakajam.com/1st-feedback-fortnight/11/magnet-game


EDIT: As a workaround, the user role has been repaired manually.

The problem is caused by the Bookshelf cascade plugin which seems not to be aware of the morph relations.

@mkalam-alami mkalam-alami assigned coxm and unassigned coxm Aug 23, 2017
@mkalam-alami mkalam-alami changed the title A game got unlinked from its author Deleting a post deletes user roles & comments of any entry with the same ID Aug 23, 2017
@mkalam-alami
Copy link
Contributor Author

mkalam-alami commented Aug 23, 2017

The cascade delete relation for user roles has been disabled for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants