Wappler Version : 2.3.0
Operating System : Windows 10
Expected behavior
What do you think should happen?
Session Variables should be available for use in actions.
Actual behavior
What actually happens?
There’s definitely some bugs in Wappler. I am unable to get most of the Session Manager related setup to work. I wonder if it’s because I’m trying to define them in a Header Include file? It appears the “config.js” under dmxAppConnect holds the Session Storage structure.
Even though I define these in an Include file they are showing under the “index” page in the config.js file.
"index": {
"sessionStorage": [
{
"type": "object",
"name": "cart",
"sub": [
{
"type": "key_array",
"name": "items",
"sub": [
{
"type": "text",
"name": "product_name"
},
{
"type": "number",
"name": "product_price"
},
{
"type": "number",
"name": "product_quantity"
}
]
}
]
},
I get the spinning wheel of death when trying to expand the Session Storage within the Data Bindings dialog.
I also do not see any items under the Name field for the session.set, but my Session Manager definitely has the defined variables/objects.
How to reproduce
- Detail a step by step guide to reproduce the issue
- A screenshot or short video indicating the problem
- A copy of your code would help. Include: JS, HTML.
- Test your steps on a clean page to see if you still have an issue
- Create index page
- Create Include file on index page.
- Open Include file
- Add Session Storage on Include file
- Add Variables/Objects in Session Storage.
- Add Array to Include file
- Click Lightening Bolt on Array Item field
- Try to expand/open Session Manager ( you should get spinnning wheel of death)
- Add Dynamic Event - Value Updated to Array
- Use Lightening bolt on Value Update Action field
- Add Set from Session Storage
- Try to select one of the variables/objects in Name field of Set Session. (this should be empty).
Last updated: