You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's also not that severe, but can cause a bit of confusion when using the API to edit components:
When adding an add-on to a component via the API there doesn't seem to be any check if this component already has an add-on of this type allowing one to end up with multiple Customize JSON output add-ons in one component overwriting each other.
I don't think there is any reason to add an add-on twice (as the UI doesn't allow this), so maybe the API should also disallow this.
Describe the issue
It's also not that severe, but can cause a bit of confusion when using the API to edit components:
When adding an add-on to a component via the API there doesn't seem to be any check if this component already has an add-on of this type allowing one to end up with multiple
Customize JSON output
add-ons in one component overwriting each other.I don't think there is any reason to add an add-on twice (as the UI doesn't allow this), so maybe the API should also disallow this.
To Reproduce the issue
Steps to reproduce the behavior:
Expected behavior
The second API request should fail
Server configuration and status
on hosted.weblate.org
The text was updated successfully, but these errors were encountered: