Closed (fixed)
Project:
Panels
Version:
8.x-4.x-dev
Component:
In-Place Editor (IPE)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2017 at 16:10 UTC
Updated:
9 Apr 2019 at 01:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
stephaneqHad the same issue with latest version, patch works fine
Comment #3
antroxim commentedComment #4
antroxim commentedProvided patch removes the error from console but it also breaks functionality. When new block is added to top region trough IPE and window scroll position is lower this bug appears on attempt to scroll page up to show where block was placed. Implemented patch that prevents JS error while not affecting scroll.
Comment #6
antroxim commentedComment #7
antroxim commentedComment #8
samuel.mortensonCalling
this.model.fetchwill make a new HTTP request, which is not desirable as at this point in execution we already have the layout model. The error is being thrown in thehighlightBlockfunction, so I would expect a fix to be there.Comment #9
mohit_aghera commentedI am not able to figure out why $block with particular UUID is not present in dom.
However, by adding validation for $block is not empty, it doesn't throw an error in console and continues execution.
Attaching small patch for it.
Comment #10
mohit_aghera commentedUpdating correct patch.
Comment #11
mikemadison commentedI can confirm the presence of the error before the patch, and the after it was applied it seems fine.
looks good to me!
Comment #13
japerrySounds good. Fixed.