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
When creating a catalog that has an overlapping location with existing catalog, the service will return 400 ( BAD_REQUEST ), but it should be 409 ( CONFLICT )
To Reproduce
Create a catalog with the same storage info location. the service will return 400 instead of 409.
Actual Behavior
The Service returns 400 ( BAD_REQUEST ) when the new catalog has a overlapping location with existing catalog.
Expected Behavior
I'm expecting the service to return 409 ( CONFLICT ) similar to catalogName conflict when creating a catalog.
Additional context
No response
System information
No response
The text was updated successfully, but these errors were encountered:
In fact, it is possible to use overlapped path for catalogs (not by default, but with featureConfiguration.ALLOW_OVERLAPPING_CATALOG_URLS set to true...default is false).
@eric-maynard do you think we should change the status code for this one or update the code to include this as expected?
Is this a possible security vulnerability?
Describe the bug
When creating a catalog that has an overlapping location with existing catalog, the service will return 400 ( BAD_REQUEST ), but it should be 409 ( CONFLICT )
To Reproduce
Create a catalog with the same storage info location. the service will return 400 instead of 409.
Actual Behavior
The Service returns 400 ( BAD_REQUEST ) when the new catalog has a overlapping location with existing catalog.
Expected Behavior
I'm expecting the service to return 409 ( CONFLICT ) similar to catalogName conflict when creating a catalog.
Additional context
No response
System information
No response
The text was updated successfully, but these errors were encountered: