Possible Bug In Application Import (LOV binding lost for columns in IR)

Hi,
I've experienced strange behavior when after I imported application into APEX 4.1
What I have done:
1) Exported application from 4.0 - (db 11.1)
2) Imported application into different instance - APEX 4.1 (db 11.2) to different workspace (using diferent schema) and with different application ID - manually changed (original was 106 new was 206)
What happened:
In Interactive Reports columns that were displayed as "Display as Text (Based on LOV, escape special characters)" lost their link to appropriate LOV - so the field "Named List of Values" shows "- Select Named LOV -" instead of the LOV name, which was assigned there in original application I exported.
Also - Named LOV imported OK with application.
And If application was imported under same ID, this issues was not there. So it looks only related if application ID changes from exported app.
Any idea why such strange behaviour happens? Is it bug, if yes is there already fix for it?
I have two workspaces on same db instance and want to migrate application between them - this make things complicated.
Regards
Ivan

Hi,
this is bug# 10369735 which has been fixed in 4.1. It was a problem of the export in 4.0 which didn't include all the necessary information. See Copying or exporting an application - bug?  LOVs not getting set in reports
So I think you have two options:
1) If you upgrade your existing 4.0 system to 4.1 you should be fine. If you now export your app all the LOV information will be included.
2) If you export from a 4.0 system and import it into a 4.1 system you have fix your LOVs once again and then you are fine.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Similar Messages

  • BUG: "Don't Import Suspected Duplicates" FAILS for two identical files (same name, same MD5)

    Using LR 4.4, I'm seeing duplicate files not detected when the files have the same name and identical content (same MD5).
    Adobe support takes me here, although I'd rather file a bug.
    I've isolated a small test case where I have a directory with a small number of images (taken at the same time with the same camera.)
    I can copy this directory to a different location, then try to import it and one of the files will not be detected as a dupe.
    I've tried re-reading the metadata for the existing library file.
    Files have the same name and same checksums.

    According to the Lightroom documentation
    Lightroom determines a photo is a duplicate of another file in the catalog if it has the same, original filename; the same Exif capture date and time; and the same file size
    Please confirm that your "duplicate" files meet this criterion

  • Import and default values for columns

    Hi guys
    I have a table in which there are default values for some columns. I take export of this table.
    I go to another database where this table structure is already there (but default values are not set). I run the import of table with ignore=Y. It does all...import the data...create the indexes and all...but doesn't set the default values for the columns.
    Shouldn't it do that also ? ignore=Y means that ignore the object creation errors and proceed with the rest of the stuff ? Or there is some problem in my understanding ?
    Version 10gR2 on AIX 5.3 and using traditional export/import.
    Thanks
    Amardeep Sidhu

    Hanji Sidhu Sahib.
    Mein Tuhade liye eh example try kita hai.
    SQL> conn simar/simar
    Connected.
    SQL> SQL> create table orders (
    dept varchar2(20) primary key,
    place varchar2(20),
    intcol integer default 12
    2 3 4 5
    Table created.
    SQL>
    Inserted few values ...........+ commit.
    SQL> conn simar/simar
    Connected.
    SQL> select * from orders;
    DEPT PLACE INTCOL
    SALES TORONTO 12
    HR LA 12
    BILLING FLORIDA 12
    IT HALIFAX 5
    exp simar/simar@RACDB file=exptest.dmp log=exptest.log
    rac01:/software/backup>exptest.dmp log=exptest.log <
    Export: Release 10.2.0.3.0 - Production on Tue May 6 23:35:58 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user SIMAR
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user SIMAR
    About to export SIMAR's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export SIMAR's tables via Conventional Path ...
    . . exporting table ABC 12 rows exported
    . . exporting table ORDERS 4 rows exported
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully without warnings.
    rac01:/software/backup>strings exptest.dmp |grep -i 'create'
    CREATE TABLE "ABC" ("A" VARCHAR2(10), "B" VARCHAR2(10)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS" LOGGING NOCOMPRESS
    CREATE TABLE "ORDERS" ("DEPT" VARCHAR2(20), "PLACE" VARCHAR2(20), "INTCOL" NUMBER(*,0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS" LOGGING NOCOMPRESS
    rac01:/software/backup>strings exptest.dmp |grep -i 'alter'
    ALTER TABLE "ORDERS" MODIFY DEFAULT
    ALTER TABLE "ORDERS" MODIFY ("INTCOL" DEFAULT 12
    ALTER TABLE "ORDERS" ADD PRIMARY KEY ("DEPT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS" LOGGING ENABLE
    SQL> conn simar/simar
    Connected.
    SQL> drop table orders;
    Table dropped.
    imp simar/simar@RACDB file=exptest.dmp log=imp_exptest_1.log tables='ORDERS'
    rac01:/software/backup>exptest.dmp log=imp_exptest_1.log tables='ORDERS' <
    Import: Release 10.2.0.3.0 - Production on Tue May 6 23:46:48 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    . importing SIMAR's objects into SIMAR
    . importing SIMAR's objects into SIMAR
    . . importing table "ORDERS" 4 rows imported
    Import terminated successfully without warnings.
    SQL> conn / as sysdba
    Connected.
    SQL> set heading off;
    set echo off;
    Set pages 999;
    set long 90000;
    SQL> SQL> SQL> SQL> SQL>
    SQL> select dbms_metadata.get_ddl('TABLE','ORDERS','SIMAR') from dual;
    CREATE TABLE "SIMAR"."ORDERS"
    ( "DEPT" VARCHAR2(20),
    "PLACE" VARCHAR2(20),
    "INTCOL" NUMBER(*,0) DEFAULT 12,
    PRIMARY KEY ("DEPT")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS"
    SQL>
    Here the alter table statement is in the dmp file as well as in the imported table.
    Regards

  • 4.2.1 Bug: Current values of child cascading LOVs are LOST.

    Hello, ApEx Team!
    This bug affected 4.1.1 and 4.2.1 but with different behavior. It seems that someone was trying to fix it.
    According to docs "whats new in 4.1" a value of refreshed child cascading lov is derived from default value settings of select list.
    Please follow these steps to see the bug.l builder-work done for you here http://apex.oracle.com/pls/apex/f?p=14110:1
    1.Create primary select list P1_SEL1.
      Display null value: Yes
      LOV definition:
        select 'aaa' name,'a' id
          from dual
         union all
        select 'bbb' name,'b' id
          from dual
         union all
        select 'ccc' name,'c' id
          from dual2.Create child select list P1_SEL2.
      Cascading LOV Parent Item: P1_SEL1
      Page Items to Submit: P1_SEL2 (I strongly believe that this item should be submitted automatically along with Parent Item)
      Display Null Value: Yes
      LOV definition:
        select 'aaa' name,'a' id
          from dual
         union all
        select 'bbb' name,'b' id
          from dual
         where :P1_SEL1 in ('b','c')
         union all
        select 'ccc' name,'c' id
          from dual
         where :P1_SEL1 in ('c')
      Default: return :P1_SEL2;
      Default Value Type: PL/SQL Function Body3.Run app. and manually change P1_SEL1 and P1_SEL2 to 'bbb'.
    4.Manually change P1_SEL1 to 'ccc'.
    h2.
    In apex 4.1.1..
    you see that P1_SEL2 is resetted to NULL automatically. The value of P1_SEL2 is LOST. Although I tell apex to submit P1_SEl2 value to set its session state, but the session state still remains NULL.
    The session state of P1_SEL2 is always NULL and I have no idea how to set it as it is set in a browser at the moment of changing parent LOV P1_SEL1.
    h2.
    Now apex 4.2.1.
    It seems this bug is fixed. Indeed it is NOT fixed.
    To see this bug in 4.2.1 just...
    5.Create a third child select list P1_SEL3 which depends on P1_SEL2.
      Cascading LOV Parent Item: P1_SEL2
      Page Items to Submit: P1_SEL3 (Again, I hope you will always submit current item automatically as you do for the parent item)
      Display Null Value: Yes
      LOV definition:
        select 'aaa' name,'a' id
          from dual
         union all
        select 'bbb' name,'b' id
          from dual
         where :P1_SEL2 in ('b','c')
         union all
        select 'ccc' name,'c' id
          from dual
         where :P1_SEL2 in ('c')
        Default: return :P1_SEL3;
        Default Value Type: PL/SQL Function Body6.Run app. again. Manually set P1_SEL1, P1_SEL2 and P1_SEL3 to 'bbb'.
    7.Change P1_SEL1 to 'ccc' and see the bug:
    1) P1_SEL2 is reset to NULL for just a short time and than restored to 'bbb'.
    2) P2_SEL3 is reset to NULL. So the session state was NULL for this item at the moment of calculating default value. As a result the value of child cascading lov is LOST.
    So this bug is still present in 4.2.1.
    Can I hope to get workaround for this problem in 4.1 and 4.2?
    Thank you,
    Vladimir
    Edited by: vgoncharov on 17.12.2012 19:37
    Edited by: vgoncharov on 17.12.2012 22:45

    Good to hear this is already being worked on.
    When we tried to work around the "Automatic detection" bug - changing the "Application Language Derived From" to "Application Preference" or "Session" - we hit issue that some page processes were not firing in translated application.
    See Page processes not firing in Translated applications
    Jan

  • Bug report: sql developer/application express application import

    I noticed some bugs on deploying an application using sql developer 1.5.1-5440.
    Using a single file deployment generated by apex including install/upgrade/remove scripts: Here's what happens:
    # I tried installing version 1.1 of my application already existing. Connected to the parsing schema of the version 1.0 I can clearly see my app "dashboard(101)"
    # using sql dev I tried an application import. Using the following import options buildstatus =runonly, autoassign app_id and checked run install scripts
    # The install runs, but instead of using the upgrade script it simply runs the install script causing a lot of errors of course since the objects already exist in the schema
    # After this installation the application is visible in the workspace using a browser dashboard(102), however it remains invisible in sql developer where i can still only see dashboard(101)
    After this failure I decided to go ahead and try once more doing the same thing but now just not check run install scripts.
    To my amazement it still runs the install scripts???
    Now I have 3 application showing in the browser and still only 1 in sql developer
    Final problem with sql developer is that I choose to drop dashboard(101) it only deinstalls the application. It does not run the deinstall script for supporting objects included in dashboard(101).
    All this makes an easy deployment a real hassle, since the browser interface can't handle a run only apllication with supporting object as all (it simply doesn't run the install script) I need to use sql developer, which is then fine for the first install, but then doen't upgrade properly. Finaly deinstalling a run only application again is impossible from a workspace and does work from sql developer, but then you still have to do the deinstall of the db objects manually.
    I know as an apex admin I can work arround al this by switching the build status etc etc, but then again I can do anything if I'm apex admin and db sys.Point in having a single file deployment is allowing a novice user to easily install.
    Geert

    Hi Scott
    Thanks for the reply
    sspadafo wrote:
    Run Only applications don't show up in the application list because they should not be editable. But perhaps it could display an icon indicating that.In my opinion they should and they do. The single app that is appearing in the list in sql developer is run only. Having it here allows me to select drop amongst other functionality the browser interface currently still lacks. Even when I drop all apps and than reinstall them again it seems like I can only see 1 version of an app with the same name.
    sspadafo wrote:
    The problem you described where you can't use the Application Install wizard to install supporting objects if the application is set to Run Only should be fixed in the upcoming 3.1.2 release/patch.I've installed the patch and I'm afraid the patch is no good either. Indeed is has improved. After the app installs it shows the supporting object dialogue. But if you then select yes and press Next it does absolutely nothing and redirects tot the application showing Application not available for edit.
    So if you would be so kind to reopen bug 7286162
    So while I'm on this section in my opinion the following bugs exist/features are missing
    SQL Developer interface
    # Not all application for parsing schema are shown in connection explorer. It seems like it can multiple show apps with different names only not when you install the same app twice with different app_id's. Then it only show the lowest app_id.
    # Installing runonly app with supporting objects installs supporting object regardless of option selected
    # Installing runonly app with upgrade scripts ignores update scripts and runs install scripts regardless of "install supporting objects" checkbox's state
    # De installing app shows unpredictable behaviour for running deinstall scripts. It seemingly prompts random. Sometimes it does, sometimes it doesn't. When it does show I get behaviour like initially prompting for running deinstall script, failing to run deinstall script, causing neither app or objects to be dropped, on retry not showing prompt anymore and only dropping app.
    Browser interface
    # Installing a runonly app always finishes with a white page showing only Application not available for edit instead of showing a proper installation summary
    # Installing a runonly app still prevents installation of supporting objects
    # De installing a runonly application is not possible. Possible a button for de install could be included on page 4000:733
    # Unable to perform important application level task from workspace like changing status, alias, global notification, proxy \\      (which are all available in the sql developer interface and imho could all be added to page 400:733 of the browser interface)
    Hope this helps,
    Geert

  • [2 Bugs] BC4J/JClient 9.0.3 JComboBox + LOV Binding

    I may have stumbled across some other bugs.. Here's how you may reproduce them:
    2 Tables (both are filled with proper values, PK's and FK's are set):
    EMP(ID: NUMBER, DESC: VARCHAR2, DEPT_ID: NUMBER)
    DEPT(ID: NUMBER, DESC: VARCHAR2)
    All appropriate ViewObjects and stuff have been generated and are in place.
    I have a JClient Panel and on it sits a JComboBox.
    The model of the JComboBox is set through the property editor to a
    JClient LOV Binding which looks as follows: DEPT.ID goes into EMP.DEPT_ID
    and the displayed LOV attribute is: DEPT.DESC
    Now, when I run the program, I attempt to select a new value from the JComboBox.
    This will succeed, but as soon as the JComboBox looses focus, I get this exception:
    oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:
    oracle.jbo.domain.Number with value: <insert displayed value in JComboBox here>When I add DEPT.ID to the displayed LOV attributes, no exception is thrown.
    That's because the String "(some number) (spaces) (some string)" will in
    fact be parsed to a valid number.
    However, because of this measure, only the DEPT.ID will be shown in the JComboBox
    when it's in its 'closed state'.
    This leads me to the second bug. When selecting multiple attributes to be
    displayed into the JComboBox, the order in which I put them doesn't seem to
    'stick'. Everytime the ID attribute is first and the rest follows in the same
    order in which the table's columns have been defined. Re-ordering them
    manually in the property editor, doesn't seem to help. The order will be
    forgotten after I close and re-open the property editor.
    The first bug doesn't seem to have any real negative effect. The new value
    is stored nonetheless; after committing and restarting the application,
    all new values are still available.
    (Stack Trace follows)
    Hope This Helps
    Arno

    As promised, here's the stack trace. The 'offending' value is "Rubriek".
    Exception occurred during event dispatching:
    oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:oracle.jbo.domain.Number with value:Rubriek
      java.lang.Object oracle.jbo.domain.TypeFactory.get(java.lang.Class, java.lang.Class, java.lang.Object)
        TypeFactory.java:713
      java.lang.Object oracle.jbo.domain.TypeFactory.getInstance(java.lang.Class, java.lang.Object)
        TypeFactory.java:80
      int oracle.jbo.uicli.binding.JUCtrlListBinding.findListIndex(java.lang.Object)
        JUCtrlListBinding.java:567
      java.lang.Object oracle.jbo.uicli.binding.JUCtrlListBinding.findMatchingListValue(java.lang.Object)
        JUCtrlListBinding.java:425
      java.lang.Object oracle.jbo.uicli.controls.JUMultiAttrListEditor.getItem()
        JUMultiAttrListEditor.java:65
      void javax.swing.plaf.basic.BasicComboBoxUI$EditorFocusListener.focusLost(java.awt.event.FocusEvent)
        BasicComboBoxUI.java:1394
      void java.awt.AWTEventMulticaster.focusLost(java.awt.event.FocusEvent)
        AWTEventMulticaster.java:171
      void java.awt.Component.processFocusEvent(java.awt.event.FocusEvent)
        Component.java:3642
      void javax.swing.JComponent.processFocusEvent(java.awt.event.FocusEvent)
        JComponent.java:1980
      void java.awt.Component.processEvent(java.awt.AWTEvent)
        Component.java:3535
      void java.awt.Container.processEvent(java.awt.AWTEvent)
        Container.java:1164
      void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
        Component.java:2593
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1213
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      boolean java.awt.LightweightDispatcher.setFocusRequest(java.awt.Component)
        Container.java:2076
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1335
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Component.requestFocus()
        Component.java:4174
      void javax.swing.JComponent.grabFocus()
        JComponent.java:915
      void javax.swing.JComponent.requestFocus()
        JComponent.java:897
      void javax.swing.text.DefaultCaret.mousePressed(java.awt.event.MouseEvent)
        DefaultCaret.java:315
      void java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent)
        AWTEventMulticaster.java:221
      void java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent)
        AWTEventMulticaster.java:220
      void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
        Component.java:3712
      void java.awt.Component.processEvent(java.awt.AWTEvent)
        Component.java:3544
      void java.awt.Container.processEvent(java.awt.AWTEvent)
        Container.java:1164
      void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
        Component.java:2593
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1213
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
        Container.java:2451
      boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
        Container.java:2210
      boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
        Container.java:2125
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1200
      void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
        Window.java:922
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
        EventQueue.java:339
      boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
        EventDispatchThread.java:131
      void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
        EventDispatchThread.java:98
      void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
        EventDispatchThread.java:93
      void java.awt.EventDispatchThread.run()
        EventDispatchThread.java:85
    ## Detail 0 ##
    java.lang.NumberFormatException: k
      int java.lang.Integer.parseInt(java.lang.String, int)
        Integer.java:414
      int java.lang.Integer.parseInt(java.lang.String)
        Integer.java:463
      void java.math.BigDecimal.<init>(java.lang.String)
        BigDecimal.java:149
      void oracle.jbo.domain.Number.<init>(java.lang.String)
        Number.java:258
      java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[])
        native code
      java.lang.Object oracle.jbo.domain.TypeConvMapEntry.convert(java.lang.Class, java.lang.Class, java.lang.Object)
        TypeConvMapEntry.java:66
      java.lang.Object oracle.jbo.domain.TypeFactory.get(java.lang.Class, java.lang.Class, java.lang.Object)
        TypeFactory.java:681
      java.lang.Object oracle.jbo.domain.TypeFactory.getInstance(java.lang.Class, java.lang.Object)
        TypeFactory.java:80
      int oracle.jbo.uicli.binding.JUCtrlListBinding.findListIndex(java.lang.Object)
        JUCtrlListBinding.java:567
      java.lang.Object oracle.jbo.uicli.binding.JUCtrlListBinding.findMatchingListValue(java.lang.Object)
        JUCtrlListBinding.java:425
      java.lang.Object oracle.jbo.uicli.controls.JUMultiAttrListEditor.getItem()
        JUMultiAttrListEditor.java:65
      void javax.swing.plaf.basic.BasicComboBoxUI$EditorFocusListener.focusLost(java.awt.event.FocusEvent)
        BasicComboBoxUI.java:1394
      void java.awt.AWTEventMulticaster.focusLost(java.awt.event.FocusEvent)
        AWTEventMulticaster.java:171
      void java.awt.Component.processFocusEvent(java.awt.event.FocusEvent)
        Component.java:3642
      void javax.swing.JComponent.processFocusEvent(java.awt.event.FocusEvent)
        JComponent.java:1980
      void java.awt.Component.processEvent(java.awt.AWTEvent)
        Component.java:3535
      void java.awt.Container.processEvent(java.awt.AWTEvent)
        Container.java:1164
      void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
        Component.java:2593
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1213
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      boolean java.awt.LightweightDispatcher.setFocusRequest(java.awt.Component)
        Container.java:2076
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1335
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Component.requestFocus()
        Component.java:4174
      void javax.swing.JComponent.grabFocus()
        JComponent.java:915
      void javax.swing.JComponent.requestFocus()
        JComponent.java:897
      void javax.swing.text.DefaultCaret.mousePressed(java.awt.event.MouseEvent)
        DefaultCaret.java:315
      void java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent)
        AWTEventMulticaster.java:221
      void java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent)
        AWTEventMulticaster.java:220
      void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
        Component.java:3712
      void java.awt.Component.processEvent(java.awt.AWTEvent)
        Component.java:3544
      void java.awt.Container.processEvent(java.awt.AWTEvent)
        Container.java:1164
      void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
        Component.java:2593
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1213
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
        Container.java:2451
      boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
        Container.java:2210
      boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
        Container.java:2125
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1200
      void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
        Window.java:922
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
        EventQueue.java:339
      boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
        EventDispatchThread.java:131
      void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
        EventDispatchThread.java:98
      void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
        EventDispatchThread.java:93
      void java.awt.EventDispatchThread.run()
        EventDispatchThread.java:85
    Exception occurred during event dispatching:
    oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:oracle.jbo.domain.Number with value:Rubriek
      java.lang.Object oracle.jbo.domain.TypeFactory.get(java.lang.Class, java.lang.Class, java.lang.Object)
        TypeFactory.java:713
      java.lang.Object oracle.jbo.domain.TypeFactory.getInstance(java.lang.Class, java.lang.Object)
        TypeFactory.java:80
      int oracle.jbo.uicli.binding.JUCtrlListBinding.findListIndex(java.lang.Object)
        JUCtrlListBinding.java:567
      java.lang.Object oracle.jbo.uicli.binding.JUCtrlListBinding.findMatchingListValue(java.lang.Object)
        JUCtrlListBinding.java:425
      java.lang.Object oracle.jbo.uicli.controls.JUMultiAttrListEditor.getItem()
        JUMultiAttrListEditor.java:65
      void javax.swing.plaf.basic.BasicComboBoxUI$EditorFocusListener.focusLost(java.awt.event.FocusEvent)
        BasicComboBoxUI.java:1394
      void java.awt.AWTEventMulticaster.focusLost(java.awt.event.FocusEvent)
        AWTEventMulticaster.java:171
      void java.awt.Component.processFocusEvent(java.awt.event.FocusEvent)
        Component.java:3642
      void javax.swing.JComponent.processFocusEvent(java.awt.event.FocusEvent)
        JComponent.java:1980
      void java.awt.Component.processEvent(java.awt.AWTEvent)
        Component.java:3535
      void java.awt.Container.processEvent(java.awt.AWTEvent)
        Container.java:1164
      void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
        Component.java:2593
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1213
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      boolean java.awt.LightweightDispatcher.processFocusEvent(java.awt.event.FocusEvent)
        Container.java:2167
      boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
        Container.java:2130
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1200
      void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
        Window.java:922
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
        EventQueue.java:339
      boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
        EventDispatchThread.java:131
      void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
        EventDispatchThread.java:98
      void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
        EventDispatchThread.java:93
      void java.awt.EventDispatchThread.run()
        EventDispatchThread.java:85
    ## Detail 0 ##
    java.lang.NumberFormatException: k
      int java.lang.Integer.parseInt(java.lang.String, int)
        Integer.java:414
      int java.lang.Integer.parseInt(java.lang.String)
        Integer.java:463
      void java.math.BigDecimal.<init>(java.lang.String)
        BigDecimal.java:149
      void oracle.jbo.domain.Number.<init>(java.lang.String)
        Number.java:258
      java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[])
        native code
      java.lang.Object oracle.jbo.domain.TypeConvMapEntry.convert(java.lang.Class, java.lang.Class, java.lang.Object)
        TypeConvMapEntry.java:66
      java.lang.Object oracle.jbo.domain.TypeFactory.get(java.lang.Class, java.lang.Class, java.lang.Object)
        TypeFactory.java:681
      java.lang.Object oracle.jbo.domain.TypeFactory.getInstance(java.lang.Class, java.lang.Object)
        TypeFactory.java:80
      int oracle.jbo.uicli.binding.JUCtrlListBinding.findListIndex(java.lang.Object)
        JUCtrlListBinding.java:567
      java.lang.Object oracle.jbo.uicli.binding.JUCtrlListBinding.findMatchingListValue(java.lang.Object)
        JUCtrlListBinding.java:425
      java.lang.Object oracle.jbo.uicli.controls.JUMultiAttrListEditor.getItem()
        JUMultiAttrListEditor.java:65
      void javax.swing.plaf.basic.BasicComboBoxUI$EditorFocusListener.focusLost(java.awt.event.FocusEvent)
        BasicComboBoxUI.java:1394
      void java.awt.AWTEventMulticaster.focusLost(java.awt.event.FocusEvent)
        AWTEventMulticaster.java:171
      void java.awt.Component.processFocusEvent(java.awt.event.FocusEvent)
        Component.java:3642
      void javax.swing.JComponent.processFocusEvent(java.awt.event.FocusEvent)
        JComponent.java:1980
      void java.awt.Component.processEvent(java.awt.AWTEvent)
        Component.java:3535
      void java.awt.Container.processEvent(java.awt.AWTEvent)
        Container.java:1164
      void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
        Component.java:2593
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1213
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      boolean java.awt.LightweightDispatcher.processFocusEvent(java.awt.event.FocusEvent)
        Container.java:2167
      boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
        Container.java:2130
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1200
      void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
        Window.java:922
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
        EventQueue.java:339
      boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
        EventDispatchThread.java:131
      void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
        EventDispatchThread.java:98
      void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
        EventDispatchThread.java:93
      void java.awt.EventDispatchThread.run()
        EventDispatchThread.java:85

  • JDev 9.0.3 LOV-Binding Bug?

    Hi!
    I've got a little problem with JDev 9.0.3 when migrating my project from JDev 9.0.2. All known Bugs from JDev 9.0.2 seem to be fixed but therefore other bugs appeared.
    My Problem in detail:
    I have 2 views (simplified):
    ORDERVIEW
    -- OrderId (DBSequence)
    -- OrderTypeIdFK (Number)
    ORDERTYPEVIEW
    -- OrderTypeId (Number)
    -- OrderTypeDescription (String)
    On a panel I display a textfield with OrderId and a ComboBox which should display the according OrderTypeDescription.
    So I created a LOVBinding on this ComboBox:
    LOV-ViewObject
    OrderTypeView
    -- OrderTypeId
    TargetViewObject
    OrderView
    -- OrderTypeIdFk
    LOV attributes to display
    -- OrderTypeDescription
    In JDev 9.0.2 this works perfectly, besides the missing search-function.
    When migrating to 9.0.3 without performing any changes I got the following exception when changing a OrderView-Row by selecting another OrderTypeDescription from the ComboBox:
    oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:oracle.jbo.domain.Number with value: Buy
    ("Buy" is one OrderTypeDescription)
    It seems that JDev wants to write OrderTypeDescription into the OrderTypeFK-Field. Of course, that can't work...
    If I change "LOV attributes to display" to "OrderTypeId" it works fine, but that's not what I want....
    Any suggestions? Thanks a lot
    Bernhard

    I have a problem very much like the one Bernhard described but in 9.0.2. A combobox with LOV-binding first worked fine but then I decided to make the control non-editable to force the user select one of the list items, not modifying the combobox contents by keyboard. After all, it makes no sense to let the user write something that has no counterpart in the LOV list. So I added 'myCombo.setEditable(false)' in my code. The result was that the combobox still shows Ok a description corresponding to an id value found in database but if I pick another value in the combobox list and try to update it to database then I get the same error Bernhard did. Is this the same bug? Should I upgrade to 9.0.3 (we are planning to do it) and get the patch to it or is there any other remedy?
    - Risto

  • Application Import : MENU's are LOST

    Hi,
    We have a problem where we have exported an Application & imported it to a diff. box with same config.(10g/Linux)
    All the MENU Ref. to the REGION is LOST ..it shows something like : M1816729359141287, Instead of the "MENU: Task" Name ...
    Please HELP.This is a very serious problem. Did anybody faced this ?
    Thanks
    Sandeep

    Sandeep,
    I'm not sure what's going on. If you don't change application IDs, the menu regions should not have this problem (it turns out that even changing workspace IDs does not cause a problem).
    I tried this on the production version of HTML DB on htmldb.oracle.com by creating an application with a menu and a page with a menu region. I exported the application and then re-imported and installed it using the same application ID. It works fine.
    Are you using the import/install pages or SQL*Plus to import/install? You might try the SQL*Plus method if you have not yet tried it. Simply connect as the application schema used by the application and run the application export file.
    Scott

  • [Bug: JClient tree binding] Workaround for 'random' collapsing of branches

    Hi all.. For those of you who have been bothered by a bug in the JClient tree binding model regarding (seemingly) random collapsing of branches, I have a small workaround which may brighten your day. I know it brightened mine. :)
    Anyways, here's my situation:
    - A JTree with a master VO ("MasterView", for the top) and a detail VO ("DetailView", for the 'body'), recursively bound.
    - A JComboBox bound to a VO ("TopsView" or whatever), which is used to 'select a tree'
    - When a the currency of TopsView is changed, the selected row's ID is used to build a new tree. I use my own simple synchronizing mechanism, so I can do some additional checks. I suppose you could make MasterView a detail of TopsView, but that's not really important.
    masterView.setWhereClause("ID = " + selID);
    masterView.executeQuery();At this point, the tree will automatically be rebuilt.
    However, based on my experiences, I figure that this is not really the way the JDev guys pictured how I'd work because there's a pretty huge bug which at some point pretty much makes the tree useless (or 'act weird' to say the least).
    Here's a description of how to reproduce the bug and some of my observations. I will refer to the collection of currently displayed nodes/records as 'tree'.
    1. When you first expand certain branches in the current tree, all goes well. No problems.
    2. Next, you use the JComboBox to select another tree. (The new tree will appear totally collapsed.)
    3. At this point, you will also be expanding branches 'in that tree', 'for the first time'.
    4. After that, you switch back to the first tree.
    5. Now it becomes interesting: when you expand ANY branch that you previously expanded in this tree, the bug will surface (details will follow). When you expand branches that you DID NOT expand during your last visit to this tree, all goes well -- no problems.
    Note that re-expanding a branch after manually collapsing it, does not cause the bug. The key is that you expand a branch for the first time during a 'visit' to this tree (ie, so that it has to gather it's child nodes).
    Details about the bug:
    - The problem surfaces when expanding certain branches. (See above.)
    - Effects will vary from collapsing different branches under the same parent node to collapsing the entire tree.
    - The selection in the JTree component (or its selection model, if you will) will also be canceled.
    Observations:
    - It seems that JClient was not designed to handle multiple trees (as described above). It appears that, before the newly selected tree is built, the old tree has not been properly cleaned up. By this I mean the collection of JUTreeNodeBinding objects, which continue to refer to DefaultMutableTreeNodeBinding objects of the destroyed tree. In effect, these orphaned objects continue to work their magic in the background and will influence the JTree and its associated objects in a way so that this problem (and possibly others) surfaces.
    The workaround I will present below is designed to suppress this problem. It does not deal with orphaned objects in a proper way, it will merely partially suppress their functionality.
    How to suppress the bug:
    - In case you haven't done so already, you have to copy the source file of oracle.jbo.uicli.jui.JUTreeNodeBinding into your project directory and then make small modification to it.
    - On line 482 (if I'm not mistaken), you will see //if (al.size() > 0) Change it to if (!(mTreeNode.getParent() == null && getParent() != null)) Now the enclosed code will only be executed when the tree is fully synchronized (as in: the 'tree' of JUTreeNodeBinding objects has the same structure as the 'current tree' of DefaultMutableTreeNodeBinding objects).
    In a nutshell, it checks whether the parents of this JUTreeNodeBinding object and the associated DefaultMutableTreeNode object are not null. Because in case it concerns an 'orphaned' JUTreeNodeBinding object, the parent of its associated DefaultMutableTreeNode object will be null. However, in case it concerns the tree's root node, both parents will be null, in which case this condition will have to evaluate to true as well.
    I hope that this information will be of use to others :) and that possibly someone of the JDev team could comment on this matter. Thanks.

    One question though. What exactly do you mean by 'copy
    the source file of
    oracle.jbo.uicli.jui.JUTreeNodeBinding into your
    project directory'.. would I need to change the package
    name of this binding, and modify the client code
    somewhere to have it use my modified version? Or will
    it use this local copy instead of the original one?The simplest way to go is to create a new (empty) class in your project, which is to be located in the package "oracle.jbo.uicli.jui", and name it "JUTreeNodeBinding". Next, open the source of the original JUTreeNodeBinding class and copy-paste it into your newly created class in JDeveloper.
    Now, when you run your application, it will use your 'custom' version of JUTreeNodeBinding, while it will function exactly the same. You can make any modifications, like the one I suggested in my original post, in this class.
    Good luck.

  • Bug or feature: "weak" bidirectional binding?

    Just lost my last not-gray hair while quick-testing notification behaviour, the guts being binding a local (to the init method) property to the rawTextProperty of a textBox
    * Created on 06.07.2011
    package bug;
    import javafx.application.Application;
    import javafx.beans.property.StringProperty;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.scene.Scene;
    import javafx.scene.control.TextBox;
    import javafx.scene.layout.HBox;
    import javafx.stage.Stage;
    // bind rawTextProperty
    public class TextRawTextBind2 extends Application {
        public static void main(String[] args) {
          Application.launch(args);
        private HBox createParent() {
            TextBox modelInput = new TextBox();
            StringProperty property = new StringProperty("some text");
            ChangeListener l = new ChangeListener() {
                @Override
                public void changed(ObservableValue arg0, Object arg1, Object arg2) {
                    System.out.println("from adapter: " + arg1 + arg2
                            + arg0.getClass());
            property.addListener(l);
            modelInput.rawTextProperty().bindBidirectional(property);
            HBox hBox = new HBox();
            hBox.getChildren().addAll(modelInput);
            return hBox;
        @Override
        public void start(Stage primaryStage) throws Exception {
            HBox hBox = createParent();
            Scene scene = new Scene(hBox);
            primaryStage.setScene(scene);
            primaryStage.setVisible(true);
      }when typing into the textBox, I expect the listener to be notified - but nothing happens. Inline the createParent into the start method - the listener gets notified as expected (for your convenience, added that as well below).
    So what's the difference? The only thingy I can think of (after a whole afternoon of extensive testing of my code as well as textBox .. ) might be listener management in the binding: if the bound property is kept by a weak reference, then it might get garbage collected on method exit. Don't know though, never really cared much about weak references ...
    Comments please?
    Cheers
    Jeanette
    here's the same as all-in-one
    * Created on 06.07.2011
    package bug;
    import javafx.application.Application;
    import javafx.beans.property.StringProperty;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.scene.Scene;
    import javafx.scene.control.TextBox;
    import javafx.scene.layout.HBox;
    import javafx.stage.Stage;
    // bind rawTextProperty
    public class TextRawTextBind extends Application {
        public static void main(String[] args) {
          Application.launch(args);
        @Override
        public void start(Stage primaryStage) throws Exception {
          TextBox modelInput = new TextBox();
          StringProperty property = new StringProperty("some text");
          ChangeListener l = new ChangeListener() {
              @Override
              public void changed(ObservableValue arg0, Object arg1, Object arg2) {
                  System.out.println("from adapter: " + arg1 + arg2 + arg0.getClass()
          property.addListener(l);
          modelInput.rawTextProperty().bindBidirectional(property);
          HBox hBox = new HBox();
          hBox.getChildren().addAll(modelInput);
          Scene scene = new Scene(hBox);
          primaryStage.setScene(scene);
          primaryStage.setVisible(true);
      }

    reason for wanting such a loose hanging property is
    Bug or feature: TextBox can't handle null text
    textBox can't cope with null text (which is a valid value in the domain) so need to adapt somehow withouth being interested in the adapter at all, so keeping it around as a field is ... polluting code

  • Possible Bug In Apex 4.0.2

    Hi Everyone.
    I would like to report what I think is a bug in Apex 4.0.2.
    If you go to my workspace on apex.oracle.com:
    Workspace = EEG
    Username = [email protected]
    Password = galaxy (all lowercase)
    Run the application: 37796 - Elie_Various_Goodies [no credentials are required]
    This app was imported from my 4.0.1 workspace at my job. On the page I created two Date Picker items, P1_BEGIN_DATE and P1_END_DATE. I set them up so that whenever a user selects a begin date, a dynamic action "MANAGE_DATES" fires and automatically sets P1_END_DATE to this selected begin date value. Now when a user goes to select an end date, the displayed calendar starts at the previously selected begin date rather than the default of "Today".
    All of this worked fine on my office (4.0.1) workspace. However, after exporting this app and then importing onto apex.oracle.com, none of this functionality would work. Even worse, whenever I try to select a begin date or even an end date, the selected dates never make it into the date picker fields. Displaying the "Session" window shows these fields as empty.
    It was only after I copied the two date picker fields and also re-created my dynamic action (P1_BEGIN_DATE2, P1_END_DATE2, MANAGE_DATES) did my functionality return.
    This behavior is quite strange. I can only think this is some sort of bug attributed to the export/import process when exporting a 4.0.1 app into a 4.0.2 workspace. I am not sure if this bizarre behavior happens with non-date picker items. Nor am I sure if this beavior would be repeated if I export/import from 4.0.2 into the another 4.0.2 environment.
    Another strange thing I noticed. If I change my date picker items to be "date picker (classic)" type items, the dynamic action does not work at all. This is true in both 4.0.2 and 4.0.1. I'm not sure if this a bug or not. It could be that the classic date picker is just not "javascript" enabled so to speak. If that is true, then it would have been nice if the docs would have warned us about this.
    Has anyone else seen this behavior?
    Thank you.
    Elie

    Hi Joel.
    First let me thank you for the warning about allowing "everyone" access to my workspace.
    You're correct, of course. Anyone could destroy anything within my workspace. I guess I was too trusting especially as I have seen many posts on the Forum where others have given access to their workspace so that responders can offer help. I really should be more discreet about this. Again, thank you. Needless to say, I have changed my password.
    With respect to the possible bug, the MANAGE_DATES dynamic action is intended to be a submit page because that is the only way I can see to get BOTH the P1_END_DATE date picker item as well as the end date textual field to be assigned the selected P1_BEGIN_DATE. I tried to use a dynamic action in which javascript sets the value of the end date textual field to the selected P1_BEGIN_DATE value. This works without the need to submit the page. Unfortunately, this does not cause the P1_END_DATE date picker item to default to this value. Instead, the default remains at today's date. This is why I finally resorted to a dynamic action that submits the page whenever a new value is selected (that is, a "change" event) from the P1_BEGIN_DATE date picker item.
    All of this works in my office 4.0.1 environment. However, I was puzzled when this fails under 4.0.2 on the hosted web site at apex.oracle.com. This is why I posted a "possible" bug in 4.0.2.
    I hope this all makes sense.
    One more thing, as already mentioned in my original post, this "defaulting a date picker" functionality does NOT work at all for the "classic" date picker items in both 4.0.1 nor in 4.0.2. I realize one can implement this functionality (I' guessing) my using, say, a "onChange" javascript call to submit the page. It's just funny that the "classic" date picker items are not acted upon by the dynamic action MANAGE_DATES that submits the page.
    Thank you.
    Elie

  • Application Import broken in Apex 3.2.1.00.10?

    Hiya, trying to import my app into a new installation of Apex. I choose the file type, choose the encoding (utf-8), choose the file, click "next" and it says:
    *1 error has occurred*
    File must be selected to upload.
    (also, I cannot login using Internet Explorer as it always returns to the login screen without any error messages, but Firefox and Chrome I can login in, just that the import will not work. )
    What's up?

    Hi, I don't know the DAD (we're using mod_owa to boot so..)
    But it appears that there is a 32 kb limitation in file uploads in mod_owa, and that's causing it. I don't know for sure since I do not administer the server and have no access to it in any way other than the apex web gui.
    But I assume it is also possible to run the application import script through sqlplus?
    As for the IE login problem, that was caused by the host name having an underscore. IE would not accept the cookie :)

  • BUG! Not system locale Filenames support for 32-bit applications error in Windows 8.1 x64 and other microssoft x64 OS-s.

    BUG! Not system locale Filenames support for 32-bit applications error in Windows 8.1 x64.        
    All Windows x64 (XP,2003,2007,Vista,7,8) have no support for not system locale filenames|foldernames for all 32-bit applications. I think it is BUG!
    For example,  it is possible to read files|folders with French or Chinese in English locale windows installed, rename it, but it is not possible open it, edit or delete. (ERRORS: File not found OR Unknown format)
    With using 64-bit programs no such problems. How does it works and how can I fix this? Is it problem with encoding in translating kernel instructions for 32-bit apps in x64 Windows OS's? Whether there are
    solutions to this problem OR some hacks|fixes? 

    Hi,
    Have you installed the language package for French or Chinese?
    If no, please download the language package and install them.
    To download language package, please click the link below,
    http://windows.microsoft.com/en-US/windows/language-packs#lptabs=win7
    Best Regards.
    Steven Lee
    TechNet Community Support

  • Possible Bug with Drag-and-Drop Being Published via HTML5 - Getting "Undefined" Error When Dragging Object

    Hello,
    I came up with a way to use drag-and-drop interactions that will take advantage of file input so that I may create a drag-and-drop interaction that uses one draggable object over and over allowing multiple scoring/tracking possibilities.  Example use...is having the draggable object be dynamic in that it randomly changes its text so that a learner can drag a term it's possible classification.........thus allowing the possibility of having many terms easily loaded without having to redo a drag-and-drop interaction for each needed terms/classifications updates/changes.
    My Issue: When using a variable to represent the text for a draggable Smart Shape object, I'm getting the error message "undefined" when, clicking/pressing on the object, as well as during the drag of the object. This issue occurs when publishing the project in an HTML5 format.  Flash interestingly enough seems to work perfect...but we are not interested in publishing via Flash any longer.
    To better help you explore this error message, I've set up a test project so that you can see when and how the "undefined" message shows up during a drag-and-drop interaction.  I've also included the Captivate 8 project file used to make the exploration project I'm sharing in this post.
    Link to Captivate project I created for you all to explore "undefined" error message": http://iti.cscc.edu/drag_and_drop_bug/
    Link to this Captivate 8 Project file: http://iti.cscc.edu/drag_and_drop_bug.cptx
    It's pretty interesting how things react in this demo, please try the following actions to see some interesting happenings:
    Drag the Yellow (or variable drag box) to the drag target.
    Drag Black Hello square to Drag target and click undo or reset - watch the undefined message come up on the Yellow (or variable drag box).
    Drag the Yellow (or variable drag box) to the drag target and then use the undo or reset.
    Move both draggable boxes to the drag target and use the undo and reset buttons...
    Anyhow, I know you all are sharp and will run the demo through its paces.
    I'd really be very honored if anyone help me figure out how I could (when publishing out to HTML5) no longer have the "undefined" error message show up when using drag-and-drop with a variable for shape text. This technique has been well received at the college I work at...and I have many future project requests for using such an idea on a variety of similar interactions. I'd love see a solution or see if this might be a bug Adobe may be able to fix!
    I tried to find a solution to the issue documented here for quite some time, but I was not able to find anyone with this problem much less attempting the idea I'm sharing in the help request -  save the darn "undefined" message that comes up!
    Many thanks in advance for any help and/or direction that you all may be able to provide,
    Paul

    Hello,
    I just wanted to supply a minor update related to my drag-and-drop question/issue stated above:
    I did another test using Captivate 7, and found that the undefined error (publishing as HTML5) does not appear and the variable data remains visible - except the variable data turns very small and does not honor any font size related settings.
    I did go ahead and submit this to Adobe as a possible bug today.
    Thanks again for any help related to this issue.  If the issued documented above is solved, it will allow many amazing things to be done using Captivate's drag-and-drop for both regular type projects as well as interaction development for iBooks! 
    Matter of fact if this issue gets fixed, I'll publish a Blog entry (or video) on way's I've used Captivate's drag-and-drop to create dynamic learning activities for Higher Ed. and for use in iBooks.
    ~ Paul

  • BUG?  Application Module State Management

    I have 2 read-only view objects VO1 & VO2 with a View Link that links them by a primary key field. VO1 (master) is on the first .jspx page and VO2 (detail) is on the 2nd .jspx page. VO1 has a SQL query, but is populated programmatically in an App Module Service method that sets the where clause parameters. VO2 is on a separate .jspx page. VO2 has one bind variable in its SQL query that is populated when the user clicks a commandLink on a row within VO1 - this takes the user to the 2nd .jspx page to view VO2 table results.
    The issue is that when the user navigates back to the first .jspx page containing VO1, a duplicate row is added to the end the data table (or as the first record on the second page of results if there are multiple pages.) If I re-query VO1, re-sort the data using the column headings, or passivate the data (see below), the duplicate row goes away. Note I have tried using the same iterator on both pages and this same issue occurs.
    Ok - after 5 days of troubleshooting, here is the potential bug. If Application Pooling is enabled on the Application Module, I experience the issue above. If I don't enale Application Pooling, and Passivate state for the App Module, this issue does not occur (see below):
    Application Module Settings - Error Occurs if Pooling is enabled
    (unchecked) Failover Transaction State Upon Managed Release
    (unchecked) Disconnect Application Module Upon Release
    (checked) Support Dynamic JDBC Credentials
    (checked) Reset Non-Transcational State Upon Unmanaged Release
    (checked) Enable Application Module Pooing
    If I un-check Enable Application Module Pooling the error does NOT occur. Note I've experimented with many combinations, and its only the Application Module Pooling that affects the behavior.
    Note both view objects are set to Passivate state (but not for transient values, though tested passivating those as well and there was no difference.)
    Can someone please advise? This is a showstopper for implementing our application to production. See the threads below for more information. Finally note that I have not yet been able to replicate this in a simple test case, but there is some specific characteristics about my current application causing this behavior (and it appears others have experienced as well.)
    Duplicate rows displayed in list
    Need help  - Duplicate Rows being added to View Object?
    Thanks.
    Here is the code on the AM service method to populate the rows for VO1 (no insert or create rows - only executing the query):
    ViewObject vo1 = findViewObject("VO1");
    vo1.setMaxFetchSize(250); // set max fetch size 250
    vo1.setWhereClauseParam(0, x0);
    vo1.setWhereClauseParam(1, x1);
    vo1.setWhereClauseParam(2, x2);
    vo1.setWhereClauseParam(3, x3);
    vo1.setWhereClauseParam(4, x4);
    vo1.setWhereClauseParam(5, x5);
    vo1.setWhereClauseParam(6, x6);
    vo1.setWhereClauseParam(7, x7);
    vo1.setWhereClauseParam(8, x8);
    vo1.setWhereClauseParam(9, x9);
    vo1.setWhereClauseParam(10, x10);
    vo1.executeQuery();
    Message was edited by:
    javaX

    More information on this issue:
    After further testing, I discovered that the 'Disconnect Application Module Upon Release' also plays a factor with this issue.
    If 'Enable Application Module Pooling' is unchecked the issue does not occur because the view object is passivated.
    If 'Enable Application Module Pooling' is checked (jbo.ampool.doampooling=true), then the issue occurs UNLESS I also set 'Disconnect Application Module Upon Release' (jbo.doconnnectionpooling=true). If I set the latter to true, then I do not experience the duplicate row issue. I would rather not have to enable jbo.doconnectionpooling=true because of the performance impacts as recommended in the dev guide. Any Suggestions?
    -- updated on 10/1/06 ----
    Setting jbo.doconnectionpooling=true only fixes this issue when I use a ViewLink as the mechanism to pass the row Id from VO1 (master on .jspx page #1) to VO2 (detail on page #2.) If I use an actionListener to pass the value from page #1 to page #2, setting jbo.doconnectionpooling=true does not fix the issue.
    <af:commandLink actionListener="#{bindings.setCurrentRowWithKey.execute}"
    action="page2" text="#{row.Name}">
    <af:setActionListener from="#{row.Id}" to="#{backing_bean_page2.rowid}"/>
    </af:commandLink>
    Message was edited by:
    javaX

Maybe you are looking for

  • Welcome to GroupWise 2012

    Welcome to the new GroupWise 2012 forums. This is the place to discuss Novell's newest GroupWise offering. To begin with, I suggest watching the GroupWise 2012 keynote presentation from the recent BrainShare conference: http://www.youtube.com/watch?v

  • Cannot modify logic script on BPC 10.0

    Hello All, I need to change a simple logic in our existing logic script. I changed, validated and hit a save button. It says that "The Script Logic file has been updated". However, my change is not saved. When I open a script Logic after I saved, I s

  • Java Fx Linux release update

    Hi all, I was wondering if I could get a status update on the progress of the official JavaFx for Linux?

  • Missing file error when installing SAP Front End

    When installing SAP front end, i am receiving following file missing error, please assist: I am using Windows XP Professional The SAP Front-End Setup has not successfully installed all selected components on your computer, either because a component

  • A strong recommendation from an Apple user for Apple

    I have been using Apple's product since 2004 and i am absolute loving Apple's product. I am using Macbook and iPod Nano. And i purchased two Apple Keyboard and Mouse for two of my PCs. For me, Apple keyboard is amazing. It is thin, USB works fine, ve