Closed (fixed)
Project:
Flag
Version:
8.x-4.x-dev
Component:
Views integration
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Jul 2016 at 09:04 UTC
Updated:
21 Oct 2016 at 09:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
davisa commentedComment #3
joachim commentedConfirming the problem.
(BTW: please don't add random tags to issues. There's no need to duplicate any of the information in the other fields, such as the project name!)
Comment #4
joachim commentedThe culprit appears to be this:
If there are flags defined, set this to the first flag, and ignore the value from config! What on earth...?
And this is why code should have comments, because I can't figure out what the original author was intending to do here.
Comment #5
joachim commentedComment #6
rbayliss commentedEasy enough to fix.
Comment #7
joachim commentedI do like a patch that adds comments! :)
However, looking at this again, there's a problem with our form if we're showing something as selected when the underlying config is empty. Showing the user something that doesn't match the configuration is a UI bug.
Comment #8
rbayliss commentedOk, so this patch removes the presetting of the flag altogether. The edit form now opens with no flag selected.
Comment #10
joachim commentedThat's great! Thanks!