[SPARE-6] @magnolia/angular-editor 1.2.1 Uneditable Created: 27/May/22  Updated: 12/Jul/22

Status: Open
Project: SPA Rendering Extended
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Scot Rhodes Assignee: Unassigned
Resolution: Unresolved Votes: 1
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:

 Description   

The Angular Editor seems to be broken as of 1.2.1. When opening a page in the Pages App edit mode, no green bars and no action bar is available. When inspecting the HTML, the expected comments to trigger the render engine are empty ("<!-- -->). Version 1.1.2 still works as expected.

This was detected using the Headless Accelerator. When using this project:

ssh://git@git.magnolia-cms.com/demos/minimal-headless-spa-demos.git

It works fine.



 Comments   
Comment by Jan Schulte [ 01/Jun/22 ]

The dev console shows:

info.magnolia.PageEditor.nocache.js:4232 Wed Jun 01 13:58:15 GMT+200 2022 com.google.gwt.logging.client.LogConfiguration
SEVERE: Exception caught: (TypeError) : Cannot read properties of null (reading ‘getTypedElement’)
com.google.web.bindery.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read properties of null (reading ‘getTypedElement’)
at Unknown.Throwable_1(http://localhost:8080/magnoliaAuthor/VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.nocache.js)
at Unknown.Exception_2(http://localhost:8080/magnoliaAuthor/VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.nocache.js)
at Unknown.RuntimeException_2(http://localhost:8080/magnoliaAuthor/VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.nocache.js)
at Unknown.new UmbrellaException(http://localhost:8080/magnoliaAuthor/VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.nocache.js)
at Unknown.$doFire(http://localhost:8080/magnoliaAuthor/VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.noca

Comment by Mykola [ 12/Jul/22 ]

I believe this error originates at Vaadin client-side adapter for any SPA editor because I have the same error with react-editor
clearing and rebuild whole tomcat app helps (maven modules) but is there a way to make this work without rebuild?

logs:

com.google.gwt.logging.client.LogConfiguration
SEVERE: Exception caught: (TypeError) : Cannot read properties of null (reading 'getTypedElement')
com.google.web.bindery.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read properties of null (reading 'getTypedElement')
Generated at Mon Feb 12 11:01:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.