Closed danieledler closed 4 years ago
Hi, I also remember noticing such error twice I believe, but it was not replicable on my side unfortunately - after refreshing the page it worked fine.
Yes, it always work if I reload the page, which makes it hard to reproduce. It's not every time for a new template either, but it has happened several times for me, and that case should be handled by the editor by either showing some error feedback that asks the user to try again, or preferably by ensuring that window.languagePackage is defined or else define it.
Can you give me access to an environment, where it happens frequently? That would help a lot!
When it happened frequently, it was usually the first time I tried to edit a template after I logged in (i.e. after I requested a new access token). The workflow was to first createFromDefaults and then open the editor for the new template.
I can't manage to reproduce it now unfortunately, so I would suggest to track it in your code from the stack trace above to make sure that window.languagePackage always get's set correctly if that is a requirement, or at least try to capture and handle possibly throwed errors somehow on your side. I'm sorry I can't help more than that.
Dear Daniel,
I’m Gábor from edmdesigner.com. I organize our public Github issues and close this ticket because it looks outdated. If you do not agree with it please leave a comment and I’ll be in touch.
If you have any new issues or feedback to share then please don’t hesitate and open a new ticket or send us an email to support@edmdesigner.com.
I hope you are well.
Best regards, Gábor Kovács Project Manager @ edmdesigner.com
When I first open a template for editing, the iframe doesn't load its content but halts on this error:
When I go back and try to open the editor again, it works. This is the last call: