GenericResourceType is altering index names on class object initialization

Description

Prior to v20, the original resource index string would be passed to such that any call to resource.getInstance() would return that string.

For v20, changes were made so those strings are passed through GenericTypeResource.sanitizeInstance() to sanitize their values, by replacing whitespace, colon, backslash, and square brackets with underscores.

This is causing problems for the new ObjectNameStorageStrategy which expects to be passed the original string, not the sanitized version.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Jesse White July 29, 2019 at 9:26 PM

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created October 23, 2017 at 2:54 AM
Updated July 29, 2019 at 9:26 PM
Resolved July 29, 2019 at 9:26 PM