Closed (fixed)
Project:
Flag
Version:
8.x-4.x-dev
Component:
Flag core
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2015 at 11:40 UTC
Updated:
24 Aug 2015 at 11:14 UTC
Jump to comment: Most recent
I see a WSOD when submitting a FlagResetForm --- "flag/reset/{flag}"
flag_reset_flag() should be replaced with a call to FlagService::reset()
I spotted this while manual testing a patch for #2547605: Flag service reset() queries database directly rather than using entity query manager service
I guess it is critical in the way all WSOD are.
| Comment | File | Size | Author |
|---|---|---|---|
| resetForm-0.patch | 532 bytes | martin107 |
Comments
Comment #2
joachim commentedYikes, dunno how that got left off! We should always be doing a sanity-checking grep for names of functions when we remove them.
Thanks for the patch!
As a follow-up, we should figure out how to inject the flag service into the form as described here: https://www.drupal.org/node/2203931
Comment #4
martin107 commentedOpened up followup.