Session Storage Manager broke on last update

======== TEMPLATE BUG FORM ========

Wappler Version : 6.0.3
Operating System : MacOS MX1
Server Model: Node JS
Database Type: MySQL
Hosting Type: Docker / DigitalOcean

Expected behavior

Session Manager was passing values between pages

Actual behavior

Session Manager keep the value between the page but the new page doesn’t read the value

How to reproduce

It’s happened after upgrading to 6.0.3

On Wappler Terminal I get the following error:

TypeError: Cannot read properties of undefined (reading ‘sessionStorage’) at evalmachine.:1:1944835 at Object.callback (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/dmxAppConnect/dmxAppConnect_inspect_lib.js:46:7) at dmxDWApiBridge.applyCallback (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxNWApiBridge.js:7:9048) at file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxNWApiBridge.js:7:44920 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)

while on Chrome I got the following:

Screenshot 2023-12-19 alle 09.52.02

dmxState-id is keeping his value:

Screenshot 2023-12-19 alle 09.51.31

The session Manager is located on the layout page and it always worked before.

session storage manager is included in the layout page which is common for both.

If I go on the text and I try to pick up the session manager value, I got it:

Screenshot 2023-12-19 alle 09.57.37

But it doesn’t get the value:

Screenshot 2023-12-19 alle 09.58.10

Result:

Screenshot 2023-12-19 alle 09.58.26

What expression are you using on your pages to get the data?

Using UI interface…

Screenshot 2023-12-19 alle 09.59.16

EDIT: I also deleted the LIB directory but nothing

How do you store the data in the session storage? What is the expression used for it?

Screenshot 2023-12-19 alle 10.00.36

Getting the value from

Screenshot 2023-12-19 alle 10.00.57

Are you on the beta extensions channel? And if yes, does it work fine when you switch to stable?

Yes I am on Beta. I forgot to write let me change on stable.

I forced update in stable channel but problem remains…

found the problem - will be fixed in the next update

Thank you very much. I was doubting that I do something wrong.

Thank you again for your support.

1 Like

Wappler Version : 6.0.3
Operating System : Windows 11
Server Model: Node JS
Database Type: MySQL
Hosting Type: Docker / DigitalOcean

QUERY MANAGER
In a related manner, every time I restart Wappler, all the QUERY MANAGER variables on the layout and content pages (query or query1) disappear. I had to add it again and again.

Thanks

Fixed in Wappler 6.0.4

1 Like

This topic was automatically closed after 46 hours. New replies are no longer allowed.