Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
editor.module
Priority:
Critical
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
8 Dec 2014 at 17:56 UTC
Updated:
28 Dec 2014 at 11:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
daffie commentedThis is the same patch as https://www.drupal.org/files/issues/2384487-56.patch.
Comment #2
dawehnerSo we somehow clearly miss some test coverage, right?
Comment #3
daffie commentedYes, we do. Wim Leers was not happy that it is impossible to upload or edit images via CKEditor. So I made a patch that hopefully will fix the problem. I did not add test coverage to speed it up. We can add test coverage before we fix the problem. What do you think that the best idea is?
Comment #4
berdirThis issue title is not very useful :) HEAD is broken is usually only used if the test suite is broken, not for "normal" bugs. And the first part should more closely describe what the problem is, like EditorImageDialog tries to access protected property or so.
Comment #5
daffie commentedComment #6
wim leersThis broke a fundamental part of in-place editing and WYSIWYG editing: you no longer can insert images at all! I think that makes this critical.
Comment #7
gábor hojtsySo the AJAX error is:
Which can probably be used to write a quick test that that URL returns no fatals? :)
Comment #8
swentel commentedQuickly checking for a test
Comment #9
dawehner.
Comment #10
swentel commentedLet's see
Comment #11
wim leersHAH! Funny regression test, that's not testing much :) If fine for others to unbreak this, I'm fine with it too. But we (I) will need to add proper test coverage for
EditorImageDialogat some point.Comment #12
swentel commentedYeah it's a rather naieve one, but the fix is so easy that I'd rather get that one in first, but we'll see what other think.
Comment #13
gábor hojtsyI think this is good for a regression test. Let's not block fixing a critical bug on adding elaborate test coverage for things not related to the bug IMHO.
Comment #14
gábor hojtsyComment #16
gábor hojtsyComment #17
gábor hojtsyComment #18
alexpottThis issue addresses a critical bug and is allowed per https://www.drupal.org/core/beta-changes. Committed b665ec3 and pushed to 8.0.x. Thanks!