Problem/Motivation
if for any reason the related flag is not existing, flaggingcollection::delete and pre-delete are raising fatal errors
Steps to reproduce
create a flagging collection, then delete the related flag, then try to delete the flagging collection
Proposed resolution
check $flag before using it
here is a patch
[edit] sorry wrong patch
[edit] here is the right patch
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | delete-missing-flag.patch | 1.7 KB | bachbach |
Comments
Comment #2
bachbach commentedComment #3
bachbach commentedComment #5
sl27257Comment #6
sl27257Comment #7
sl27257