New Application ID Ignored when Using "Copy An Existing Application." ORA-00001: unique constraint (APEX_050100.WWV_FLOW_LISTS_PK) violated.

(Doc ID 2266278.1)

Last updated on MAY 15, 2017

Applies to:

Oracle Application Express (formerly HTML DB) - Version 5.1.0 and later
Information in this document applies to any platform.


1. Create a new application in 5.1. Say its ID is 150
2. Create another application based on #1 using "Copy an existing Application".
3. Give the new application a new Application ID that does not conflict such as 200.
4. Create the application.
5. Export the newly created application and you will see that the export file still contains the ID of the application that it was copied from. In this example 150.

This does not occur in APEX 4.2.6.

Note: Because of this, importing the application can cause a PK violation such as:


 Upgraded from APEX 4.2 to APEX 5.1.


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