Skip to content

Conversation

@Vasiliy-Bondarenko
Copy link

Article comments connector crashes if article is absent while comment still exist and need to be moderated. Crash happens when connector tries to create URL for not existing object and it just throws error. So i made a trick - returning JS alert in url. I think it's much better when just crash :)

How to get error happen - delete resource from DB which has new comments and try to get comments for moderation in manager. connector will crash.

Article comments connector crashes if article is absent while comment still exist and need to be moderated. Crash happens when connector tries to create URL for not existing object and it just throws error. So i made a trick - returning JS alert in url. I think it's much better when just crash :)

How to get error happen - delete resource from DB which has new comments and try to get comments for moderation in manager. connector will crash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant