-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Description
When creating a new Policy Template, the local M1Session cache is not correctly updated. As a result, the methode policyTemplateIds form the M1Session return the old list until the cache-until timeout.
In rt_m1_client/session.py, the method policyTemplateCreate updates the internal details cache (ps['policyTemplates']), but it fails to append the new ID to the list of IDs (ps['provisioningsession']['policyTemplateIds']).
Solution
Add missing logic to append the new ID in policyTemplateCreate and logic to remove the old ID in policyTemplateDelete
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Ready for review