Incorrect error when adding backup storage using same credentials
Description
Error Message on trying to add a backup storage location using the same Bucket Name and Endpoint.
If user already added a backup storage location, when user tries to add another using same bucket name + URL to add another, it gives an incorrect error → {"message":"Backup storages with the same url, bucket and url are not allowed"}
If the user is trying to add a backup storage location with the same name, it should first check for the name and give an error that the location is already added. But it gives the same error as state in point 1.
Environment
None
Attachments
1
image-20240722-083416.png
22 Jul, 2024
Activity
Diogo Recharte
January 21, 2025 at 11:32 AM
The PR that fixes this has already been merged to main. Testing should be done with the dev-latest build.
Yusaf Awan
December 9, 2024 at 7:06 AM
@Michal I don't exactly remember now, but I think it should be because the word ‘url’ is being used twice in the same sentence for the same reason.
Michal
November 14, 2024 at 1:49 PM
@Yusaf Awan why is the error message incorrect in the item 1?
It seems to explain why you cannot add the same bucket/url.
Error Message on trying to add a backup storage location using the same Bucket Name and Endpoint.
If user already added a backup storage location, when user tries to add another using same bucket name + URL to add another, it gives an incorrect error → {"message":"Backup storages with the same url, bucket and url are not allowed"}
If the user is trying to add a backup storage location with the same name, it should first check for the name and give an error that the location is already added. But it gives the same error as state in point 1.