-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi
while modifying a storage policy association that contains uppercase letters in the name, it happens that after the update all letters are lower case.
The schedule policy names are captured by the usage of cvpysdk.policies.all_schedule_policies and used for the modification (association).
We currently use Commvault version 11.32.92 and the actual cvpysdk.
As far as I have seen the issues seems to be related to the code in cvpysdk.policies.schedule_policies - def _get_policies(self). In the code part the gathered names are all processed with .lower(). Maybe this is the reason.
for policy in policies:
temp_name = policy['task']['taskName'].lower()
temp_id = str(policy['task']['taskId']).lower()
Can you please check if this is really required and maybe adjust it, thus we can also have uppercase letters in the name.
Thanks and best regards
Metadata
Metadata
Assignees
Labels
No labels