primocms/primo

Website sections corrupted after editing on slow PC

rallisf1 opened this issue · 1 comments

A collaborator had to make some edits during his vacation and all he had available was a 2012 macbook. After making the changes the sections he edited lost all content, and the site wouldn't deploy from there on. I had to create a new website from the live primo.json.

Example error in browser console:

Page.svelte_svelte_type_style_lang.59202fed.js:581  Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'heading')
    at Page.svelte_svelte_type_style_lang.59202fed.js:581:84380
    at Array.forEach (<anonymous>)
    at I (Page.svelte_svelte_type_style_lang.59202fed.js:581:84246)
    at mke (Page.svelte_svelte_type_style_lang.59202fed.js:581:84203)
    at fn (index.9b868608.js:4:6826)
    at new gke (Page.svelte_svelte_type_style_lang.59202fed.js:590:1719)
    at We (index.9b868608.js:1:8991)
    at Array._i (2.f66bc637.js:3:17923)
    at ue (index.9b868608.js:1:794)
    at Lt (2.f66bc637.js:1:24401)

Scratch that, it happens on me too but only on live editing, not when editing the block contents by the edit button.

I'm still on 2.0.0--beta.11