Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
editor.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Dec 2015 at 00:20 UTC
Updated:
12 Jan 2016 at 13:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
markhalliwellThis is a core bug, will attach a patch shortly.
Comment #3
markhalliwellComment #4
rodrigoaguileraI did a manual test and I get the seven theme modal instead of the bootstrap error.
I have no clue on how this can be tested without something like behat.
Comment #5
markhalliwellIt may not need tests. Not sure why you set to CNW, especially since you have confirmed the patch works, but setting it back to CNR so others can take a look.
Comment #6
markhalliwellThe Bootstrap IQ has already received 3 issues on this (including this one that was moved, see referenced by issues). While this isn't necessarily "critical" (e.g. no data loss), it's extremely annoying and the above patch is not an obvious fix to the symptom it causes.
Does this really need tests? What needs to happen for this issue to move forward?
Comment #7
markhalliwellAnother issue.
Comment #8
markhalliwellComment #9
jonodunnett commentedPatch in #3 fixes the issue for me :) thank you.
Comment #10
dawehnerIn order to test this properly as a functional test we would require javascript testing, which doesn't exist at this point in time.
Comment #11
wim leersLGTM
Comment #12
catchThis could probably be tested by faking the AJAX request then confirming that theme negotiation happens, however it's not going to be a meaningful test of the editor AJAX functionality, and we should already have testing that the route option works, so not worth it in either case.
Would be a good one to add a BrowserTestBase test for once that's available though.
Committed/pushed to 8.1.x and cherry-picked to 8.0.x. Thanks!