Skip to main content

Frame lose metadata on reloading

  • March 6, 2021
  • 7 replies
  • 209 views

Laflys

Hello,
For a few weeks now, the Frames have not stored metadata when the board is reloaded. 
Is an update planned at this level, as we have several plugins that use this functionality?
Thank you!

7 replies

Daniela Gavidia
Mironeer
Forum|alt.badge.img

Hello Laflys,

 

Thank you for bringing this issue to our attention. I have been able to reproduce it on my end and will notify the engineering team about it.

 

Kind regards.

 

Daniela


Laflys
  • Author
  • Contributor
  • 13 replies
  • March 12, 2021

Thank you @Daniela Gavidia !


Max Harper
Forum|alt.badge.img+6
  • Miro Hero
  • 376 replies
  • March 29, 2021

Having this issue too. 


Falk Kühnel
Forum|alt.badge.img+2
  • Active Contributor
  • 33 replies
  • May 13, 2021

I have the issue too, for other item types. And actually, this is rendering our plugin useless. I am surprised, that we only found out the reason to why we get so inconsistent data so late. If this issue already exists for a month. 😜

When can we expect a fix?


Falk Kühnel
Forum|alt.badge.img+2
  • Active Contributor
  • 33 replies
  • May 17, 2021

Seems to be working again. Thanks for fixing it.


Falk Kühnel
Forum|alt.badge.img+2
  • Active Contributor
  • 33 replies
  • May 19, 2021

And it is broken again. :(


  • New Here
  • 1 reply
  • November 24, 2021

Hi there,

I can confirm that on my developer account at least, metadata on frames does not survive a refresh - both in what is returned in a call to widgets.get(). Using filter arguments on widgets.get to filter by metadata also does not work:
 

Pseudocode:

 

const clientid = miro.getClientId(); (await miro.board.widgets.create({type: "FRAME", metadata:{
[clientid]: {
"testing": 123
}
}})); // resolves to widget with metadata values populated

await miro.board.getAllObjects() // includes widget with meta data values populated.

await miro.board.widgets.get(["metadata."+clientid+".testing", 123]) // returns the frame created (other get filters function correctly)


After reloading the page, the same getAllObjects and get queries do not return any frames on previous pages. 

I was thinking of using a secret hidden shape on the page to store frame metadata separately and perhaps restore the metadata to relevant frames on load. 

This does not feel a long term approach though so it would be great to know if this behaviour is by design or is it just missing functionality! 

 

Thanks

 

Jen Smith