[BUG] Database Corruption
Posted: Thu Aug 15, 2024 11:32 am
Can other confirm that editing the name of a menu item on the settings causes corruption of database.js
I'm not absolutely sure what started it, but I believe it was doing that.
Once I'd edited a menu item name adding further items to the menu became highly unreliable. Pages would appear to be added but later visits to the Menu page of the modal would find them missing, although the content of the newly created pages would be accessible if I entered to correct URL in the browser address bar.
Eventually, I downloaded the database.js file to examine what was going on and discovered that there was a missing number in the list of menu items. while, as you might expect, further down the database file the content of the new pages, missing from the menu modal, were there.
I have managed to rectify the situation by manually editing the menu section of the database file to include menu items for all the page and sub-page content I had created after the issue was began.
My best guess is that there is something missing in the main code that does not allow for an edit to be made to a menu item name although the menu allows a user to make a change. Rather than accepting the name change the edit results in a menu item being removed as it no longer matches any item in the contents section of the database.
Can others confirm this?
I'm not absolutely sure what started it, but I believe it was doing that.
Once I'd edited a menu item name adding further items to the menu became highly unreliable. Pages would appear to be added but later visits to the Menu page of the modal would find them missing, although the content of the newly created pages would be accessible if I entered to correct URL in the browser address bar.
Eventually, I downloaded the database.js file to examine what was going on and discovered that there was a missing number in the list of menu items. while, as you might expect, further down the database file the content of the new pages, missing from the menu modal, were there.
I have managed to rectify the situation by manually editing the menu section of the database file to include menu items for all the page and sub-page content I had created after the issue was began.
My best guess is that there is something missing in the main code that does not allow for an edit to be made to a menu item name although the menu allows a user to make a change. Rather than accepting the name change the edit results in a menu item being removed as it no longer matches any item in the contents section of the database.
Can others confirm this?