Project

General

Profile

Defect #1436

Script IsRoleInCatalogue fails

Added by Alena Peterová 14 days ago. Updated 8 days ago.

Status:
Resolved
Priority:
Normal
Category:
Scripts
Target version:
Start date:
01/04/2019
Due date:
% Done:

100%


Description

Since 9.0
When using core script IsRoleInCatalogue for account management in provisioning mapping, it throws exception:

eu.bcvsolutions.idm.core.api.exception.ResultCodeException: Script has some errors: [Cannot cast object 'eu.bcvsolutions.idm.core.api.dto.IdmRoleCatalogueDto [code= LDAP-role]' with class 'eu.bcvsolutions.idm.core.api.dto.IdmRoleCatalogueDto' to class 'eu.bcvsolutions.idm.core.api.dto.IdmRoleCatalogueRoleDto']

History

#1 Updated by Alena Peterová 14 days ago

  • Status changed from New to Needs feedback
  • Assignee changed from Alena Peterová to Ondřej Kopr
  • Target version set to Onyx (9.3.3)
  • % Done changed from 0 to 80

#2 Updated by Ondřej Kopr 8 days ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Ondřej Kopr to Alena Peterová
  • % Done changed from 80 to 100

Nice! Thanks for fix. The commit was cherry picked from you branch also into hotfix-9.3.3. For test the script I must create new system with provisioning mapping for role :D.

Script in several cases works well. Thank you.

Also available in: Atom PDF