Skip to content

Hidden or possible corrupt JSON elements in config #8

@michealespinola

Description

@michealespinola

(I'm not a JSON expert so please bear with my lack of proper terminology)

After upgrading to the latest version, I decided to save some key-presses by editing the JSON directly to add the new ""newWindow": true," to all of my menu entries. This worked fine. I'm proficient with JSON enough to not screw up the adding of a new/additional object element.

The issue I am reporting is that when I was looking at the file, I saw an entire object branch/block? that:

  1. Is a duplicate of the default page
  2. Has an object? name of "-1"
  3. Is not visible in the web interface

I manually removed it, but I do have a backup of the file if it would help to see it. Looking at the config file: The default page is 'order "0"'. the next element block was this 'corrupt element' page with no order number specified, and the next page jumped to order "2" and continued properly sequentially from there (3 and 4).

After removing it, I renamed the other pages so they are now 0 through 3 sequentially.

Everything was otherwise working fine and I had no reason to beleive there was an issue until I stumbled upon it. I had previously changed the order of some of the pages, by altering the "Menu order" field via the web interface. I recall that I had to alter the numbers of both pages to get them to swap positions (keeping track of the number order). I can only image this was a result of that process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions