1 Reply Latest reply: Apr 9, 2013 3:35 AM by Kirsten RSS

    Upgrade to APEX 4.2: apex_application_install with multilanguage appl.

    Kirsten
      Hi all,

      following problem appears:

      (Application Express 4.2.1.00.08)

      I developed an application (app id 100) with translations in three languages in the workspace "DEV".
      In the application builder I see 1 application.

      Then I export this application by application builder to file f100.

      Then I reimport this script to the same workspace via script by

      declare
      l_workspace_id number;
      begin
      select workspace_id into l_workspace_id
      from apex_workspaces
      where workspace = 'DEV';
      --
      apex_application_install.set_workspace_id( l_workspace_id );
      apex_application_install.set_application_id(100);
      apex_application_install.generate_offset;
      apex_application_install.set_schema( 'DEV' );
      apex_application_install.set_application_alias( 'DEV_APP' );
      end;
      /

      @../f100.sql


      Now in the application builder I see 4 applications, the original one and the 3 translations.

      If I repeat this procedure (exporting the original application 100 and reimporting it again, I get every time 3 applications in additional).
      So after the second import I see 7 applications, after the third import I see 10 applications ....

      What do I miss when importing the application via script?

      Best regards,
      Kirsten

      Edited by: Kirsten on 05.04.2013 00:18