Hello! I am an admin on the https://forum.image.sc discourse site. This is currently the error I am getting when I try to add a new entry to our Topic List Sidebars component:
Steps to Recreate
- Open
Adminsection - Under
Appearance, selectThemes & components - Under
Components, clickEditnext toTopic List Sidebarsentry - Click
Objects setting editor - Scroll to the bottom and click
+ sidebarand select the new topic - Scroll back to the top and enter
name,tag, andtopic_id - Scroll back to the bottom and click
Save Changes - Error message appears and sidebar fails to save
Alternatives tried (same failure)
- Ensuring that the component is up-to-date
- Adding a category
- Adding multiple valid tags
- Removing
-from tag name
Workaround
Instead of using the Objects setting editor, if I use the Settings Editor button at the bottom of the Topic List Sidebars component edit page I am able to directly edit the JSON. I was able to successfully manually create an entry with the same data thatās being rejected by the GUI.
This suggests to me that there is an error in the save logic detecting the tags and wrapping it/them into an array.
Last Success
A sidebar was added to the site on Jan 5, at which point the GUI entry was functioning as expected.
Additional Notes
- In the
Edit sidebars settingpage, the fact that the sidebars arenāt in a scrolling component means that, with a sufficiently long list of sidebars, the error message and data entry arenāt in view when clickingSave Changes. I actually didnāt even realize there was a problem at first. - This was compounded by the error message providing an index instead of the name, which made it unclear what was failing validation.
Thank you for the support!
