Closed (fixed)
Project:
Flag
Version:
8.x-4.x-dev
Component:
Flag core
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2015 at 13:24 UTC
Updated:
10 Aug 2015 at 20:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
edurenye commentedOk, solved the HEAD, now it don't break the tests, but I'm not sure if I have to add the entity before or I think is better like entity.flagging.delete_form or entity.flagging.confirm_unflag.
Comment #2
berdirLooks like you have some unrelated local changes in the patch.
A link template can't look like this, drupal doesn't know how to get values for flag/entity_id.
If this is not possible for some reason (e.g. you don't want to have (flagging) instead in there (which means that links to that will need to load the flagging ID) first then it can't be a link template. You can still get the route directly.
Note this never worked. You could not have called $flagging->url('delete-form') even before the route => link template conversion (which happened half a year ago, it was just not validated correctly)
(this is a question to @joachim, not @edurenye).
Comment #3
edurenye commentedYes, sorry, now it's ok.
Comment #4
joachim commentedI'm not sure this is useful for flagging entities, and the right fix here might be in fact to remove it entirely. There's no admin UI for flaggings, there's no 'delete' link when you're editing a flagging. Deleting a flag is done via the unflagging UI instead.
Comment #5
berdirYeah, agree with that. Patch should remove the links part completely then.
Comment #6
edurenye commentedRemoved the links of the entity flagging.
Comment #7
berdirFlag is currently completely broken and can't be installed, so I'd say this is critical :)
Comment #8
joachim commentedCommitted.
Thanks everyone!