Closed (fixed)
Project:
Drupal core
Version:
8.1.x-dev
Component:
editor.module
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Dec 2015 at 19:13 UTC
Updated:
1 Mar 2016 at 01:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mac_weber commentedComment #4
mac_weber commentedFixed class aliasing
Comment #5
mile23Patch in #4 applies, IDE says it replaces
entity_create('editorand with theEditor::create()method.Setting RTBC and rerunning the tests.
Comment #6
catchWhy is it EditorEntity here and not Editor? Do we have a conflict with the Editor classname in that file or is it unnecessarily aliased?
Comment #7
heykarthikwithulooking into this.
Comment #8
heykarthikwithu@catch, their is a use statement aliasing for Editor.
use Drupal\editor\Entity\Editor as EditorEntity;Comment #9
heykarthikwithuComment #10
catch@heykarthikwithu yes it looks like we could remove the alias - there's no conflict with another class there. Your patch is using the same class twice which doesn't simplify things.
However that should probably be done in a separate issue - ideally we'd make that change first and postpone this patch on it.
Comment #11
heykarthikwithuComment #12
catchThanks! Postponing on that, then this patch is a quick re-roll once that's in.
Comment #13
naveenvalechaThis would be N/W when this #2668828: Remove EditorEntity aliasing in editor & ckeditor module went in.
Comment #14
naveenvalechaComment #15
naveenvalechaunpostponing this one as the editor aliasing issue went in #2668828: Remove EditorEntity aliasing in editor & ckeditor module
Comment #16
heykarthikwithuworking on this.
Comment #17
naveenvalechaStraight reroll.
Reviewed the patch, Well this patch does not have my code.So RTBC
Comment #18
naveenvalechaSetting N/W , patch needs to take care of removing the existing use statements
Comment #20
heykarthikwithuRerolled as per #15.
Comment #22
naveenvalechaRemove this statement as this has been already taken care in #2668828: Remove EditorEntity aliasing in editor & ckeditor module.Patch needs rework
Comment #23
heykarthikwithuwrong patch added in #20. needs a reroll.
Comment #24
heykarthikwithuComment #25
naveenvalechaPatch looks good, Thanks!
RTBC if green
Changing the component b/c it should be editor.module and ckeditor.module
Comment #26
wim leerslgtm
Comment #28
catchCommitted/pushed to 8.1.x, thanks!