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

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

book

Article ID: 74358

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal

Issue/Introduction

Error when adding group to user.  This started after an upgrade from an earlier release to 14.1


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

Why is the following error displayed when trying to add a group to a user?

AttributeNotPresentException: This method requires the presence of an attribute which was not provided. The attribute is named idmSelfSubscribing. 
at com.netegrity.llsdk6.imsimpl.BaseObject._getNoMap(BaseObject.java:1174) 
at com.netegrity.llsdk6.imsimpl.BaseObject.get(BaseObject.java:969) 

Environment

IM Version - 14.1 
Application Server - WebSphere 8.5.5.11 
Database - Oracle 12c 
Directory Server - CA Directory Build 14043 
Operating System - Linux 

Resolution

idmSelfSubscribing was part of the corporate user store.  It was a custom attribute that was not created when someone upgrades to 14.1.  This is why it does not exist in your env.xml.  It does not exist in 14.1 which is why this error is displayed: 

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

The attribute does not exist in the Corpdirectory.xml. To resolve this please recreate this custom attribute. Make sure its in your environment.xml. 

For the environment.xml you will copy one of the existing IM managed objects, paste it and modify the new object for IdmSelfSubscribing 

Once added please reimport the new schema.xml into your management console.