Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when editing through UI #1381

Closed
5 tasks done
LarryT8959 opened this issue Nov 12, 2023 · 4 comments
Closed
5 tasks done

Errors when editing through UI #1381

LarryT8959 opened this issue Nov 12, 2023 · 4 comments
Assignees
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working

Comments

@LarryT8959
Copy link

Environment

Self-Hosted (Docker)

System

Synology NAS / Docker

Version

2.1.1

Describe the problem

I posted about this a few days ago but now have more info. I've built a very nice dashboard that runs great. As long as I make all changes through the config file, everything is fine. When I make and save changes through the user UI, It corrupts the config file. I get validation warnings, sections should not have additional property:filtered items. I can see these errors when viewing through the user UI. As long as I don't save the file, the errors won't transfer the config file. The minute I save, then the errors show up in the file.
What am I missing?

Additional info

No response

Please tick the boxes

@LarryT8959 LarryT8959 added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label Nov 12, 2023
@github-project-automation github-project-automation bot moved this to Todo in Dashy V3 Nov 12, 2023
@liss-bot
Copy link
Collaborator

If you're enjoying Dashy, consider dropping us a ⭐
🤖 I'm a bot, and this message was automated

@MrCee
Copy link

MrCee commented Nov 13, 2023

I am using docker also and this isn't a permissions problem for myself.
I just wanted to add to this. If we are editing boolean in the UI >> Config >> Edit Config, and first option is Write Changes to Config File, we click okay and greeted by a success message in green. However nothing changes when viewing the file in terminal.
But... if you are to Preview Changes after this step, the dashboard displays in editing mode, and then with a further save here, you should be able to Save to Disk which will (in my case) update the config file which I have mapped as per:

    volumes:
      - /volume1/docker/dashy/my-config.yml:/app/public/conf.yml

So yeah the property:filtered items bug is the main issue here which I am experiencing. Just thought I would add to this because property:filtered items and writing to the config file is coming back after each rebuild and it seems the rebuild process is not in-line with the UI or yml either.

@liss-bot liss-bot added 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending and removed 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending labels Nov 13, 2023
@codevski
Copy link

codevski commented Jan 15, 2024

getting the same thing, even deleting that part of the object it returns after you edit it again:

image

But have no issues saving

@liss-bot liss-bot added 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending and removed 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending labels Jan 15, 2024
@CrazyWolf13
Copy link
Collaborator

Duplicate of #1361, please close this

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Feb 3, 2024
@Lissy93 Lissy93 closed this as completed Feb 11, 2024
@github-project-automation github-project-automation bot moved this from Awaiting Triage to Done in Dashy V3 Feb 11, 2024
@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working
Projects
Status: Done
Development

No branches or pull requests

6 participants