Hello,
Please see the below time-sensitive request.
We are aware Corvid CLI is in Alpha, and would appreciate any help the Corvid team can provide.
Thanks very much!
Bug description
When using the local editor npx corvid open-editor
, it is not possible to correctly create a Dynamic Page on the site locally.
When I create a Dynamic Page in the local editor everything seems to work fine at first place, but when I close and re-open the editor, the recently created Dynamic Page is not anymore a “Dynamic Page”, and instead it can be found as a “Regular page” with all connections to the database broken.
If I try to use the “set to dynamic page” option in the editor for the –now “regular”– page, the page is converted to a dynamic page, but the original DynamicDataset connection is broken (and you can not even delete it from the page) and a duplicate of the DynamicDataset is added to the page which requires to reconnect all elements to it.
This happens every single time you close and re-open the local editor, ending up with countless dynamicDatasets in your page and resulting in the impossibility to work with dynamic pages within the local editor.
Steps to reproduce it
- Clone wix site with corvid-cli
npx corvid clone <siteurl>
- Open editor with corvid-cli
npx corvid open-editor
- Create a new Dynamic Page within the local editor.
- Add some elements and connect it to the dynamicDataset.
- Save changes and close editor.
- Open local editor again.
- The page can be found now as a “Regular page” with all dynamic connections broken.
- If you try to use “set to dynamic page” option, the dataset gets duplicated and all connections are still broken.
Expected behavior
The expected behavior would be to be able to correctly create a Dynamic Page as in the online editor.
Screenshots
Find a summary of the error in the screenshot below.
Version used
- OS: macOS Mojave 10.14.5 (18F132)
- Version: Corvid CLI v0.1.76
Link to other bugs
#bug #corvid #cli #corvidcli #localeditor #local #editor #environment #dynamicpages #dynamic #create #page #dynamicdataset #dataset