Project

General

Profile

Actions

Defect #1436

closed

Script IsRoleInCatalogue fails

Added by Alena Peterová almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Alena Peterová
Category:
Scripts
Target version:
Start date:
01/04/2019
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

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']

Actions #1

Updated by Alena Peterová almost 6 years 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
Actions #2

Updated by Ondřej Kopr almost 6 years 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.

Actions #3

Updated by Alena Peterová almost 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF