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

Validate JSON before trying to save DB translations #2674

Open
tmkarlsen opened this issue Feb 9, 2024 · 0 comments
Open

Validate JSON before trying to save DB translations #2674

tmkarlsen opened this issue Feb 9, 2024 · 0 comments
Labels
admin bug Something isn't working Component: Content Author All issues that affect content author (sourcecode/apis/contentauthor) NDLA NDLA Edlib needs triage All issues that need to be triaged by repository admins

Comments

@tmkarlsen
Copy link
Member

Return error message when invalid JSON
If a user makes changes making the JSON invalid, the save files into a 500 Server error

Having a popup with a validation message before saving would be nice.

@tmkarlsen tmkarlsen added bug Something isn't working NDLA NDLA Edlib needs triage All issues that need to be triaged by repository admins labels Feb 9, 2024
@tmkarlsen tmkarlsen changed the title Validate JSON before trying to save Validate JSON before trying to save DB translations Feb 13, 2024
@tmkarlsen tmkarlsen added Component: Content Author All issues that affect content author (sourcecode/apis/contentauthor) admin labels Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin bug Something isn't working Component: Content Author All issues that affect content author (sourcecode/apis/contentauthor) NDLA NDLA Edlib needs triage All issues that need to be triaged by repository admins
Projects
None yet
Development

No branches or pull requests

1 participant