AttributeNotPresentException: This method requires the presence of an attribute which was not provided. The attribute is named DateStoragePattern

book

Article ID: 132173

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal

Issue/Introduction

Portal Connector Fails to Connect to Identity Manager

Identity Portal and Identity Manager 14.2 set up and Web Services are enabled inside IM. It failed to start with the following message

ErrorCode: 200650, ErrorFamily: GENERAL, Message: com.idmlogic.sigma.backend.exceptions.BackendException: Calling webservice Get all admin tasks failed
BackendMessages: 
Error: Message: <html><head><title>Error</title></head><body>Internal Server Error</body></html>, 

On IDM, following error present

AttributeNotPresentException: This method requires the presence of an attribute which was not provided. The attribute is named DateStoragePattern

Cause

This is caused when DateStoragePattern screen value is missing within the IDM Roles and Tasks xml.  When IP is requesting tasks from IDM, it was not able to find that attribute and then therefore throwing an error.

Environment

VAPP 14.2

VAPP 14.3

Resolution

The attribute (DateStoragePattern) is mainly called under the below screens:

Default Active Directory Groups Standard List
Default Active Directory Group Membership Standard List
Default Active Directory Members Account Standard List
Default Active Directory Members Group Standard List

To correct this issue, Open IM management console, Home > Environments > identityEnv > Roles > Export out your roles and tasks. (Keep the original as a backup)

If this machine was an upgrade from a previous version or had older roles and tasks XML imported, you will need to update to the latest roles and tasks.

Home › Environments > identityEnv > Roles > Import > Select 14 to 14.X Provisioning ( if you have provisioning enabled).

If the error still exists, export out your roles and tasks once more and then search for 'DateDisplayPattern' and modify the field to mimic the below field then import the xml and finally confirm resolution.

Example:

<Property name="DateDisplayPattern">M/d/yyyy HH:mm Z</Property>
<Property name="DateStoragePattern">yyyy-MM-dd&apos;T&apos;HH:mm Z</Property>