unsaved changes for default view of QWP impact other tabs in browser?

LabKey Support Forum (Inactive)
unsaved changes for default view of QWP impact other tabs in browser? Ben Bimber  2010-11-29 10:06
Status: Closed
 
In 10.3 customize view changed. You can now alter the columns/filters/sorts in your grid without saving that view. I recently noticed that if you alter the default view, but do not save it, that other QWPs or calls to getQueryDetails() for that query on a different tab in the browser reflect these changes. i assume that has something to do w/ how these changes to the QWP are cached? is that supposed to happen?
 
 
kevink responded:  2010-11-29 10:27
Yes this is the intended behavior. The 'unsaved' changes are saved on the server-side. Any new browser windows that are refreshed or use .getQueryDetails() will reflect those changes.
 
Ben Bimber responded:  2010-12-15 08:30
hi kevin,

so how long will an unsaved view persist? if i log out/log in the unsaved view seems to be cleared, but it seemed to be saved otherwise. I tried navigating away from the page, then going back, and the unsaved view was remembered. are there any other triggers besides actually clicking 'revert' or logging out that cause it revert?

thanks.
 
marki responded:  2010-12-15 09:14
They are saved in the user's session. So an explicit logout, closing the browser or an explicit revert would be the options to revert.
 
adam responded:  2010-12-20 14:49
Also, an "implicit" logout (a server session timeout) will clear the session.