Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (APEX_040100.WW

K CannellApr 21 2014 — edited May 8 2014


APEX  4.0.1.0.0.32

Moving app from one schema to another, ex TEST to DEV.

On import of an app - full app, not just a page - into DEV environment where the app id is NOT used in this database

and the workspace id's of the export-from and import-into workspaces are the same,

I am getting this error:

ErrorGET_BLOCK Error.
ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (APEX_040100.WWV_FLOW_PAGE_PLUGS_PK) violated <pre>declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=&gt; 1749292960175163966 + wwv_flow_api.g_id_offset, p_flow_id=&gt; wwv_flow.g_flow_id, p_page_id=&gt; 108, p_plug_name=&gt; 'Manage Laboratory', p_region_name=&gt;'', p_escape_on_http_output=&gt;'Y', p_plug_template

I can import as a different app id.

I can import fine as the same app id in the source workspace.

We need to maintain the same app number to keep things in sync between DEV, TEST, QA and Prod environments.

What do I look for, for the cause of the problem, and to correct this problem?

Thank you - Karen

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 5 2014
Added on Apr 21 2014
1 comment
1,819 views