How To Workaound When ADF-PopUps With Child-components Throw MDS-00010: DuplicateRefException ? (Doc ID 1930276.1)

Last updated on OCTOBER 10, 2016

Applies to:

Identity Manager - Version 11.1.2.2.0 and later
Information in this document applies to any platform.

Goal

How to work around the ERROR: MDS-00010: DuplicateRefException when save af:popup with child-components like af:dialog in the sandbox ?

When creating a af:popup with child-components like af:dialog or alike via sandboxes, OIM throws the mentioned error message.

MDS-00010: DuplicateRefException. In document /oracle/iam/ui/manageusers/pages/search-users.jsff
 there are multiple elements with the same ID dwpd2.
ADF_FACES-60097:For more information, please see the server's error log for
an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #1

++
Test-Case for the steps to create the popup - a standard procedure:

1.) Create a new sandbox and activate it.
2.) Navigate to "Users", click on "Customize", "Source",
  and add a new "commandToolbarButton" via "create content".
3.) Navigate to Sandbox, de-activate and export it.
4.) Extract search-users.jsff.xml and open it in a TextEditor (Notepad++ in mycase).
5.) "Apply the modifications presented":
  Use a text-editor to add the following lines to the file
  \oracle\iam\ui\manageusers\pages\mdssys\cust\site\site

6.) "repackage the sandbox": Put this file back into the zip-file.
7.) "import it": Log into OIM self-service as administrator, navigate to "sandboxes",
  hit"import", browse for the zip-file you created and press "OK".

8.) Clicked the Users link.

  A popup window appears, showing error:
  MDS-00010: DuplicateRefException. In document /oracle/iam/ui/manageusers/pages/search-users.jsff there are multiple elements with the same ID DIALOG2.
  ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #1

9.) Diag log shows same error:

  oracle.mds.exception.MDSRuntimeException: MDS-00010: DuplicateRefException.
  In document /oracle/iam/ui/manageusers/pages/search-users.jsff there are multiple elements with the same ID DIALOG2.
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms