Wappler Version : 6.3.2
Operating System : Windows 10
Server Model: NodeJS
Database Type: MariaDB
Hosting Type: localhost / Docker
Beta Channel
Expected behavior
What do you think should happen?
When upgrading from 6.0.2 to the latest version 6.3.2 I would expect the existing project to work the same but I have multiple problems with Data Views and Node single page app. The SPA issue has happened starting from 6.0.3.
Actual behavior
Data View Issue
Data Views with a filter applied now error out with 99+ errors in the network console, bringing the site to a crawl until a page refresh. I have a dropdown for a location value, then an input field to search multiple values based off of an API response and a repeat on the page to show all the values which narrow down based off of the search and dropdown selected. The single input field searches all values.
Error: (changed some values for public view):
Error parsing expression: Warehouse==select_location.value&&(Example1.contains(input_search.value, true) || Example2.contains(input_search.value, true) || Example3.contains(input_search.value, true) || Example4.contains(input_search.value, true) || Example5.contains(input_search.value, true)) TypeError: t is undefined
Filter applied: (Values blurred for public view):
Yes I noticed the filter has more fields than the error but I am reporting what it shows. This same filter works just fine and very quick on 6.0.2 (beta channel).
SPA Issue
Navigating between some pages do not navigate fully. I click on the nav button coming from the layout and the URL changes however the content of the previous page stays on the content side until I click on another nav button. This also happens from a button inside the content page that triggers a browser - Go To using internal link as the same as the layout navigation buttons. This was working fine on 6.0.2 but it has had issues on every update I have tried up until the very latest.
There are no errors happening in the browser console for this one to help troubleshoot.
Data View Search Issue
Using the above filter that has been working previously, now on the latest version when doing a search the repeat with the content inside that gets its data from the Data View no longer updates as I type in the data. I have to navigate to another page (“next” from the data view) and back then it works all the time until a page refresh.
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
For one example of the data view filter being used: (changed some values for public view)
This is pulled from the Data View - Filter - Code section
Warehouse==select_location.value&&(Example1.contains(input_search.value, true) || Example2.contains(input_search.value, true) || Example3.contains(input_search.value, true) || Example4.contains(input_search.value, true) || Example5.contains(input_search.value, true) || Example6.contains(input_search.value, true) || Example7.contains(input_search.value, true) || Example8.contains(input_search.value, true))
After further testing the SPA issue while writing this up it seems to happen when clicking on a button within the content page which that button has on it a click dynamic event that uses the browser element from the layout page, using the Internal option selected. It then correctly navigates to the next page. From that page when trying to navigate again either by using the button or by clicking on any of the nav buttons from the layout page the URL updates but the content from the page is still there and the new content is not. Click again on another nav button then it goes. As mentioned this started happening from 6.0.3 onwards. 6.0.2 worked without issue.
Thank you for any assistance. I would like to start using the newer versions with all the fixes and features but as needed I have been just downgrading back to 6.0.2 to make changes and publishing from there.