Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
205
PersistenceManager Bug
posted

Hello,

we have a problem with the PersistanceManager. We use it to store the layout of a XamGrid.

The stored layout is loaded when the window including the XamGrid is initialized. Afterwards, the window can be filled with different data.

Saving / loading the layout with the PersistanceManager works fine.

But there seems to be an error with invalid saved layouts. With some specific layouts, the table will stay empty.

Error case:

1)  customize a XamGrid table by e.g. making the columns wider or smaller

2) close window, layout gets saved

3) open window, layout gets loaded, grid gets shown with the previous customization

4) when grid gets filled with data, it stays EMPTY (invisible?)

We were not able to find out with what kind of customization makes this trouble, but we saved some of the XMLs which caused this trouble.

I added working + not working layout files as attachment.

We compared the files with working versions, and there is only very little difference  (e.g. only 1 additional column changed which results in a few more lines in the XML).

When removing some of the newly added files of not working layout xmls compared to the working layout xmls, they sometimes work start again. (The data in the xamgrid is visible again).

Why is this happening? What can we do to avoid this?

Please let me know if you need any more information.

Regards,

AVL Development Team

LayoutFiles.zip
Parents
No Data
Reply
  • 205
    Offline posted

    Additional information:

    This bug occures with probably every 20th saved layout.

    So the code itself is working in 95% of the cases, only sometimes with specific layouts the data in the xamgrid will be invisible ( which can be consistantly reproduced).

Children