Skip to content

Schedule Policy names ignore uppercase letters #185

@cvbackup

Description

@cvbackup

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions