Skip to main content

Monday.storage.instance data loss after publishing a major version of the app

  • January 11, 2023
  • 6 replies
  • 823 views

akhaneev
Forum|alt.badge.img

Hello,
I have an issue with the monday.storage API. The app has a Board View and a Widget. Both store data in the monday.storage and this works well. Publishing new minor versions of the app has no issue as well. But when I publish and install a new major version, all created board views and widget lose its data.
Is it a known issue? Is there any workaround for this?
Thanks,
Andrey

6 replies

kolaai
Forum|alt.badge.img
  • monday.com Partner
  • January 11, 2023

What I think is happening is that, minor versions use the same instance so the same storage applies to all your minor versions until you create a major version. That will create a new seperate instance which has it’s own storage reference there the previous ones by the minor versions are inaccessible in the major version.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 11, 2023

Hello @akhaneev,

I will double-check this with our team just to be sure and come back to you here 🙂

Cheers,
Matias


akhaneev
Forum|alt.badge.img
  • Author
  • New Participant
  • January 11, 2023

Thank you, Matias! I’ll be waiting for the news from you.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 11, 2023

Sounds good! I’ll come back as soon as I can!


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 17, 2023

Hello there @akhaneev ,

I heard back from our team.

What Alfred said is correct. Major versions use a different instance. That is why you see this behavior. There is no workaround to pass the data directly to the new instance. You would need to save it on your end first to do that.

Let me know if you have any other questions!

Cheers,
Matias


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 17, 2023

Hello everyone,

I have discussed this with our team.

We will discuss the possibility of changing this behavior in the future to avoid the loss of data when creating a new major version.

If this gets implemented, we will announce it in our changelog.

Cheers,
Matias