Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
other
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Aug 2014 at 13:33 UTC
Updated:
22 Aug 2014 at 08:50 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
gábor hojtsyAnd the patch with a complete solution and test. Needs review.
Comment #2
gábor hojtsyHere is a test only patch that WILL FAIL. The test is almost identical to the one added in #1, I just removed the assertion for the error message added in the patch, since that would of course fail. Now this proves that there is in fact a success message for saving the form with an invalid combination of menus/items.
Comment #5
gábor hojtsyLast minute changes after verifying tests are not a win. Let's set the right variable empty when it would not be valid.
Comment #6
pwolanin commentedLooks reasonable, though I'm not sure that we want to use t() in the test code?
Comment #7
pwolanin commentedchecked with people about t() and seems it should be used if the original text is also going through t()
Comment #8
catchWhy's the array_values necessary? I don't see a need to re-key.
Comment #9
gábor hojtsyComment #10
gábor hojtsyComment #11
catchCommitted/pushed to 8.x, thanks!
Comment #13
gábor hojtsyProvided the fix yesterday from Drupalaton but forgot to tag.