.Mmap file gives error in new mobile designer (Maui), works fine in older mobile designer version
Hi,
I get the following error when loading in my mmap in the latest (maui based) mobile designer 5.36:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'fieldExtensions')
I'm not getting this error when loadin the exact same file in a previous version of the mobile designer 5.29
What could be the cause of this?
Thanks in advance!
-
Extra info: I see in the console this part of js is giving the error
But going through my mmap I seem to have popupInfo and fieldInfo set for all of them
Oke after investigating, the conclusion is that when popup is disabled there is no popupInfo available. But in the js the code still is making the fieldExtensions based on the popupinfo which is null, after that in the code there is a push of this fieldExtension but it is null so it is giving an error. This seems like a bug in the js where the || needs to be changed to && to make this work.
For now I will try to make popups for all of my layers. I will log this issue as it seems a bug for Mobile Designer.Edit: creating popups for all the layers solved this issue now I'm getting the next one
Uncaught (in promise) InvalidOperationError: This collection is read-only.1
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire