Hey,
First off overall I'm loving this new feature, really improves development time!
We just noticed a bug with previewing after publishing, any queries that have been made since publishing (release) don't work - "Unable to retrieve information about the query" is the error.
The cause:
- Clicking "Preview" after making changes since a release publish will take you to a URL ending in "?_releaseVersion=latest"
- Clicking on a different page will remove that from the URL, so it is pointing at the wrong thing server side for your Queries to be found by the client.
- Interestingly it still says "Latest" at the top, and the UI Components are up to date but the back end queries are not.
Below is when you first click preview:
Here is when you navigate to a different page from that preview:
The workaround:
- Manually pasting "?_releaseVersion=latest" on the end of the URL every time I switch page when previewing changes made, such as:
Additional Info
-
Goal: To preview a change to a non-home page after releasing a publish with the new Multipage, without having to paste the version number/latest in as a query param.
-
Repro Steps: Create a multipage app, setup multiple different pages, with queries loading data into tables (or anything using any server side query, not JavaScript), publish it, then make further edits (new queries), and preview -> It will show the UI for the new changes but not be able to find the newly created Queries since a publish. (Does not affect draft publishes)
-
Screenshots:
The error from console: