The role currently held by the Identity Portal user is not displayed. Well known attribute shows "%STRING_202", not "%STRING_202%" as expected
search cancel

The role currently held by the Identity Portal user is not displayed. Well known attribute shows "%STRING_202", not "%STRING_202%" as expected

book

Article ID: 233147

calendar_today

Updated On:

Products

CA Identity Suite

Issue/Introduction

In IP, when giving a role to a user and being approved and looking at the user, the role is not displayed and also when looking at the roles that can be given it does not show that the user already has the role.

 

 

Environment

Release : 14.4

Component : CA IDENTITY SUITE (VIRTUAL APPLIANCE)

Resolution

The problem is in UserStore.xml in this line

UserStore (14).xml:            

<ImsManagedObjectAttr physicalname="imString202" description="Custom String 202" displayname="String 202" valuetype="String" multivalued="true" wellknown="%STRING_202" maxlength="0"/>

The expected is:

  <ImsManagedObjectAttr physicalname="imString202" description="Custom String 202" displayname="String 202" valuetype="String" multivalued="true" wellknown="%STRING_202%" maxlength="0"/>

notice that previous and after lines the wellknown attribute have one additional "%" as shows:

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=VLYqsCl3JTrACSLcQUuOVw==

Please, fix this line adding a % for %STRING_202% import again the User Store.xml file 

Check if stops in IM log this error when you are trying to view the Roles in IP side:

/opt/CA/VirtualAppliance/logs/IDM_logs/wildfly-console.log:

10:18:43,865 ERROR [io.undertow.request] (default task-22) UT005023: Exception handling request to /iam/im/ws/identityEnv/portal/access/current/: javax.servlet.ServletException: AttributeNotPresentException: Este método necesita un atributo que no se ha proporcionado. El atributo se llama %STRING_202

Translation: "This method requires an attribute that has not been provided. The attribute is called"