Skip to content

Edit-mode: After editing, Safari has undefined app.entity

Created by: Quazgar

In Safari 11, after editing an Entity the updated Entity is not shown.

The browser console says "Unhandled Promise Reaction: TypeError", this is thrown in state-machine.js:249, further inspection shows that app.entity is undefined in edit_mode.js:

TypeError: undefined is not an object (evaluating 'app.entity.dispatchEvent') = $1
(anonymous function) — edit_mode.js:1556
observeEvents — state-machine.js:275
observeEvents — state-machine.js:273
observeEvents — state-machine.js:273
observeEvents — state-machine.js:276:195
observeEvents — state-machine.js:273
observeEvents — state-machine.js:273
observeEvents
promiseReactionJob

Note that the modified Entity is successfully updated on the server.

DoD

  • Edit mode works in Safari

Imported comments:

By Quazgar on 2021-02-16T13:17:29.698Z

changed the description

By Quazgar on 2021-02-16T13:14:37.768Z

changed title from Edit-mode: After editing Safari has undefined app.entity to Edit-mode: After editing, Safari has undefined app.entity

Edited by Daniel Hornung
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information