[CONTEDIT-104] Javascript error when tabbing "fast" through blocks Created: 25/Apr/17  Updated: 20/Jun/17  Resolved: 30/May/17

Status: Closed
Project: Content Editor
Component/s: None
Affects Version/s: 1.0.2
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Federico Grilli Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: Content Editor fine-tuning

 Description   

While tabbing "fast" through blocks several errors show up in the browser console like the following

TypeError: Cannot read property 'getData' of null
    at aCi.oCi [as vqc] (TextBlockWidget.java:383)
    at eDi.fDi [as Pc] (TextBlockWidget.java:80)

Apparently they do not impair the editor functionality but it looks easy to get rid of them, e.g. by checking ckeditor is not null or increase the delay at

  ckEditor.on("change", event -> changeHandlerJob.schedule(100));

at info.magnolia.editor.gwt.client.body.TextBlockWidget#initializeInlineEditor



 Comments   
Comment by Philip Mundt [ 30/May/17 ]

Needs verification.

Comment by Federico Grilli [ 30/May/17 ]

Cannot reproduce it anymore or the error possibly showed up only in SuperDevMode

Generated at Mon Feb 12 00:17:07 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.