While retrieving the resourceId providing the resource name using the Amorphic's fetch resourceId API i.e. /resourcetypes/{resource_type}/resources/{resource_name}, It is failing with 'Invalid resource name' error for datasets and views with capital letters in the resource name.
For other resource types, API is failing with the key error: ResourceNameIndexGroupsResourceTable
For retrieving roles, It's failing with error: IPV-1004 - Invalid resource type - 'roles' is not supported
Affected Versions: 2.5
2.5.1
2.6
Fix Version: 2.6.1
Root cause(s)
While making few enhancements and refactors in the 2.5 (CLOUD-4376) related to groups functionality which resulted in these errors.
Impact
After upgrading to 2.5, When users try to retrieve any resourceId using the API /resourcetypes/{resource_type}/resources/{resource_name}
, the API will fail with error 'Invalid resource name'.
Mitigation
Fix is available in Amorphic version 2.6.1. Please upgrade to the latest version to resolve this issue.
Patch is available for Amorphic versions v2.5.1, 2.6
Timeline
- 2024-07-15: Bug reported/identified (CLOUD-4766)
- 2024-07-15: Bug triaged
- 2024-07-15: Bug fixed
- 2024-07-19: Testing of patch on v2.5.1 is completed
- 2024-07-19: Patch for v2.5.1 released