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

Similar Messages

  • Bug report SQL DEVELOPER DATA MODELER

    Hello,
    I think i found a bug using Sql developer data modeler 2.0.0 build 584.
    When importing a DDL file to create a relational model, foreign key constraints might not be created if foreign key uses multiple-field and the fields are not referenced in the same order as the primary key was.
    ex:
    Table FOO ..... PRIMARY KEY (id_1, id_2)
    FOREIGN KEY (id_2, id_1) REFERENCES FOO (id_2, id_1)
    Benjamin
    P.S: Bellow is a portion of SQL code demonstrating the problem:
    -- "_decompte"
    CREATE TABLE "_decompte"(
    numero_rang VARCHAR2(2),
    numero_contrat VARCHAR2(13),
    id_decompte VARCHAR2(19)
    ALTER TABLE "_decompte"
    add CONSTRAINT pk_decompte PRIMARY KEY (numero_rang, numero_contrat, id_decompte);
    -- "_decompte_detail"
    CREATE TABLE "_decompte_detail"(
    numero_rang VARCHAR2(2),
    id_ligne NUMBER(4),
    numero_contrat VARCHAR2(13),
    id_decompte VARCHAR2(19)
    -- "_decompte_detail"
    -- NOT Recognized by SQL DEVELOPER DATA MODELER (fields are not in the same order as primary key definition)
    ALTER TABLE "_decompte_detail"
    add CONSTRAINT fk_decompte_detail_1 FOREIGN KEY (numero_contrat, numero_rang , id_decompte) REFERENCES "_decompte"(numero_contrat, numero_rang , id_decompte);
    -- Recognized by SQL DEVELOPER DATA MODELER
    ALTER TABLE "_decompte_detail"
    add CONSTRAINT fk_decompte_detail_2 FOREIGN KEY (numero_rang, numero_contrat, id_decompte) REFERENCES "_decompte"(numero_rang, numero_contrat, id_decompte);

    Hi,
    Well, I was recently given some database scripts and asked to correct and improve them. These scripts were not generated but rather hand made. Having no access to a DBMS I was just curious about the result of this option in Data modeler and tried it for a better DB overview. I don't need it at all, but I was surprised to discover that the result was a failure. So I tried various scripts until I found the mistake.
    regards.

  • Bug report: SQL Developer 3.2.09 Crashes for some Replace Regexp

    Hi,
    SQL Developer 3.2.09 (tested on Win XP with SQL Developer built-in Java) crashes for some Replace Regexp.
    Try the following:
    New SQL-sheet
    CTRL-R for Replace
    Enter "||" (two chars) as search-expression
    Enter "" (nothing) as replace-with-expression
    Check Regular Expressions Check Box
    Hit OK
    -->100% CPU usage, no reaction.
    Can you confirm the bug?
    Edited by: blama on Sep 4, 2012 3:48 PM

    I believe the pipe character is a regexp meta character and your regexp probaby matches everything repeatedly. If you want to replace the concatenation operator you don't need a regexp.
    Having said that, I am using SQL Developer on Linux with Java 1.6.0_33 and I don't get the hang, just replacing the same thing again and again.
    On windows with 1.6.0_24, I do get the hang. It may be a java issue.
    Edited by: Jim Smith on Sep 4, 2012 5:39 PM

  • DOC BUG: Oracle Application Express Application Builder User's Guide 4.1

    Oracle® Application Express Application Builder User's Guide
    Release 4.1
    Part Number E21674-03
    +§ HTML Header and Body Attribute+, Table 8-4 has:
    >
    Attribute: Page HTML Body Attribute
    Description: Enter text or HTML you want to appear before the page template footer.
    >
    This is the description for the Footer Text property, correctly described in Table 8-5. Table 8-4 should have something like:
    >
    Attribute: Page HTML Body Attribute
    Description: Enter HTML attributes to be specified for the page <tt>body</tt> element by replacing the <tt>#ONLOAD#</tt> substitution string in the page template.

    Anthony
    Thanks for picking that up.
    If you hadn't already noticed it, could I bring the +{thread:id=2285521}+ thread to your attention? I've confirmed that finding and would appreciate an explanation.

  • Securing Individual Application Express Application

    Hi All,
    I would like to secure an individual Application Express application at the Apache level. What I am looking at doing is ensuring that only an individual URL is available on a specific port. I was wondering what is the best way to do this.
    Eg:- Users are allow to navigate to
    http://mysever.somedomain.com:7799/apex/f?p=101
    NOT to http://mysever.somedomain.com.:7799/apex/f?p=4550
    Thanks
    Brett

    My recommendation is to install HTML DB in the instance that has the data you need in your application. We have a test and production database for each "type" of database. Our types of databases are OLTP and Data Warehouse. This results in two test databases and two production databases. We have HTML DB installed in each of these database instances. We use a test Oracle Application Server's HTTP server to serve the 2 test HTML DB installations and a production OAS HTTP server to serve our 2 production HTML DB installations.
    Reasons for 4 HTML DB installations
    - We wanted the application as close to the data for quickest response time!!
    - We wanted to keep it simple by not having to deal with database links. Database links are only used when the application requires the combination of database from different sources.
    - We wanted our test/development application work separated from the running production applications.
    - We have IT people as well as non-IT people in other departments developing applications, so we wanted the production HTML DB installation controlled by IT people. Non-IT developed applications are migrated into production by IT people. The IT people control all database structure changes as well in the production database.
    This is what we went with. Our developers provided this configuration to the DBA to implement. Sometimes there is a battle as to how many HTML DB installations to make. The developers want more and the DBAs want less.
    Mike

  • Bug in SQL Developer relating to handling of XMLTYPE columns

    Hi,
    I have found a bug in SQL Developer relating to its handling of XMLTYPE columns.
    Given a table with the following data:
    ID, XML_DATA
    1, <xml here>
    2, <xml here>
    3, <xml here>
    And the following SQL to extract a value from the XML and also an XML fragment as an XMLTYPE:
    SELECT
    EXTRACTVALUE(t.column_value,'/*/USER_ID/text()')user_id
    , t.column_value user_data
    FROM dbuser.mytable m
    , TABLE(XMLSEQUENCE(EXTRACT(m.xml_data, '/*/USER_LIST/USER'))) t
    I get the following:
    user_id, user_data
    jsmith26, (XMLTYPE)
    mjones45, (XMLTYPE)
    sborga31, (XMLTYPE)
    Note that the user_id is correctly extracted, however the XMLTYPE column (user_data) is empty in SQL Developer.
    The same query returns the correct XML data in TOAD.
    Edited by: 1008733 on May 29, 2013 5:07 PM

    Steve,
    So your example is slightly more complex than the one documented for a table in the standard OE schema here:
    http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions052.htm
    That example works fine on an 11.2.0.1 database with SQL Developer 3.2.20.09.87. Please try the following with your case:
    Tools -> Preferences -> Database -> Advanced -> Display Struct Value In Grid (check it off if not already)If that still does not work for Run Statement (query result displayed in the grid, not as script output using Run Script), then please provide a test case based on the Warehouse table in the OE schema (or your case with DDL and DML scripts including the xml data) and I will log a bug.
    Thanks,
    Gary
    SQL Developer Team

  • PL/SQL Bug in SQL Developer?

    SQL Developer v 1.1.1.25 running on Windows XP.
    I have a PL/SQL procedure that does not compile with debug in SQL Developer. Compiling it with debug produces the following error:
    an Error(1): PLS-00801: internal error [79110].The only way I was able to get the procedure to compile in SQL Developer was to add the 4th line. If I uncomment the 4th line it compiles with debug. Why??
    Here is the procedure:
    CREATE OR REPLACE
    PROCEDURE BOGUS AS
      CURSOR c1 IS
        SELECT dummy FROM DUAL;
    --  x c1%ROWTYPE;
      PROCEDURE test ( rec IN OUT c1%ROWTYPE) IS
      begin
        null;
      end;
    BEGIN
      NULL;
    END BOGUS;Message was edited by:
    marife
    I played around some more with the procedure and discovered the problem. The key is the compiling with debug. I believe that compile with debug cannot build the debug information for a %ROWTYPE as a parameter. But if I define a local variable of that %ROWTYPE, then the compile with debug knows what debug information to track for the %ROWTYPE.
    I discovered that in SQL*Plus it compiles, but when you issue the ALTER PROCEDURE bogus COMPILE DEBUG, it does not compile. This is a problem with the debug option for compiling and not a problem with SQL Developer.
    Sorry for the posting. Hopefully this information will save other times and fustration.
    Mike

    Just for anyone else searching on this bug - I get the same error with certain procedures in TOAD when compiling with DEBUG.
    Fortunately nobody here has the first clue how to use TOAD debug so it's only ever switched on by accident or after a reinstall (it's the default) - so turning debug off fixes the problem.

  • Bug in SQl Developer + Ubuntu 64 bits and Open JDK 7

    if i use de /usr/lib/jvm/java-1.6.0-openjdk
    a have this errors.
    SEVERE     283     1     oracle.dbtools.raptor.controls.grid.ResultSetTableCellRenderer     oracle.dbtools.raptor.controls.grid.ResultSetGridCell.computeDisplayValue(ResultSetGridCell.java:37)
    SEVERE     282     0     oracle.dbtools.raptor.controls.grid.ResultSetTableCellRenderer     oracle.dbtools.raptor.controls.grid.ResultSetGridCell.computeDisplayValue(ResultSetGridCell.java:37)
    SEVERE     281     1     oracle.dbtools.raptor.controls.grid.ResultSetTableCellRenderer     oracle.dbtools.raptor.controls.grid.ResultSetGridCell.computeDisplayValue(ResultSetGridCell.java:37)
    SEVERE     280     0     oracle.dbtools.raptor.controls.grid.ResultSetTableCellRenderer     oracle.dbtools.raptor.controls.grid.ResultSetGridCell.computeDisplayValue(ResultSetGridCell.java:37)
    SEVERE     279     1     oracle.dbtools.raptor.controls.grid.ResultSetTableCellRenderer     oracle.dbtools.raptor.controls.grid.ResultSetGridCell.computeDisplayValue(ResultSetGridCell.java:37)
    SEVERE     278     0     oracle.dbtools.raptor.controls.grid.ResultSetTableCellRenderer     oracle.dbtools.raptor.controls.grid.ResultSetGridCell.computeDisplayValue(ResultSetGridCell.java:37)
    SEVERE     277     1     oracle.dbtools.raptor.controls.grid.ResultSetTableCellRenderer     oracle.dbtools.raptor.controls.grid.ResultSetGridCell.computeDisplayValue(ResultSetGridCell.java:37)
    SEVERE     276     0     oracle.dbtools.raptor.controls.grid.ResultSetTableCellRenderer     oracle.dbtools.raptor.controls.grid.ResultSetGridCell.computeDisplayValue(ResultSetGridCell.java:37)
    SEVERE     275     1     oracle.dbtools.raptor.controls.grid.ResultSetTableCellRenderer     oracle.dbtools.raptor.controls.grid.ResultSetGridCell.computeDisplayValue(ResultSetGridCell.java:37)

    Welcome to the forum!
    Please read the FAQ for how to post a question and the information that you need to provide.
    The most important thing is that you actually need to post a question. Saying 'when I do this I have errors' is NOT a question. And it does not provide enough information for anyone to help you.
    The subject mentions Open JDK 7 but your content uses '/usr/lib/jvm/java-1.6.0-openjdk'. Nothing in what you posted says anything at all about whether you are using sql developer, what version you are using, or how you are trying to launch it.
    If you want help you have to provide detailed, specific information about each step you are taking and what results you get.
    Have you ever installed or used ANY version of sql developer on ANY platform?
    You are on a 64 bit system so are you using 64 bit versions of sql developer and the JDK?
    Are you aware that JDK 7 is NOT recommended for use with sql developer at this time?

  • Fallo en SQL Developer , bugs in SQL Developer

    He detectado que si hacemos clic con el botón derecho sobre una tabla y seleccionamos EXPORT ==> SQL INSERT. la exportación no se lleva a cabo.
    ¿Alguien ha detectado este problema?

    Mucho mas tarde, doy confirmacion del problema en mi sistema Linux SuSE 10.0 con Oracle 10g release 2 y la ultima version de SQL Developer (Build 14.67). No tengo ningun dato en el fichero ni en el "clipboard". Pero si no selecciono todas las columnas, el fichero o el clipboard se rellenan normalement. Eso explica que algunos dicen que funciona y otros que no funciona.
    Como solucion pratica, creo una vista (view) con una columno mas ( *, 1 as nada) y no la selecciono. Solo me queda cambiar el nombre de la tabula en el texto SQL que produce la exportacion.
    A few weeks later, I certify there is a bug (en my Linux SuSE 10.0 system con Oracle 10 g release 2 and Build 14.67 of SQL Developer). I obtain an empty file or nothing in the clipboard. If I don't select all fields, the file or clipboard are full of data. This explains why some assert there is no problem and other say there is one. As a practical solution, I created a view with an extra field ( *, 1 as dummy) and didn't select it. I only have to rename the table in the exported SQL text.

  • Application express, application development

    hi,
    we need to create user name and password for our appliction so we read all the books but we are not getting .when we import a spreed sheet file (.xls) we are
    getting an information that unable to import binary data.

    the method to create user name and password on blank page for a new application
    and when we create a form and report application in object browser ,we created
    table so we used primary key for one of the column but in the report and form application we are unable to get column that we assigned as primary key,
    when we use date datatype for the column the table is not creating and getting errrors , so what is the method of using primary key in the report and form application,and date datatype in creating a table.

  • Bug in SQL Developer 1.5 SQL Worksheet

    Hello,
    did any of you already encounter the following effect in version 1.5's SQL Worksheet?
    When I try to execute the following statement in version 1.5:
    select (1 +
    2 -
    3 +
    4)
    from dual;
    I get the error: ORA-00907 missing right parenthesis
    With more complex statements I also get an 'unimplemented feature' error.
    When I put the operators in front like this:
    select (1
    + 2
    - 3
    + 4)
    from dual;
    i get the correct answer '4' as result. Seems to be clearly a bug for me. In version 1.2 both versions work perfectly well.
    Does anyone know whether there's already some bug filed for this or whether there's a patch around?
    Regards Holger

    Hi Dieter W.
    It looks like the command does work in sqlplus , from what I can see only the first line (and continued first line) has continuation character facility. (I am working on an other related SQLDeveloper bug).
    i.e. No continuation character (10.2XE)
    SQL> select (1 +
    2 -
    3 +
    4)
    from dual;
    2 3 4 5
    (1+2-3+4)
         4
    Continuation character:
    SQL> select (1 -
    1 -
    1 -
    3)
    from dual
    2 3 select (1 1     1 3)*
    ERROR at line 1:
    ORA-00907: missing right parenthesis
    I am on the lookout for more information...
    -Turloch

  • Print or Export an HTML Report SQL Developer 1.5.5

    I have created an HTML report using the plsql-dbms_output report style. Unfortunately, I do not see a way of printing or exporting the report. If I select File - Print, it just prints a snapshot of the workspace. Also, I do not see any options for exporting the report. Of course, exporting the report would only be useful if it is saved as an HTML file preserving all the formatting.
    Can anyone shed some light on what I may be doing incorrectly or provide an alternate method for sharing an HTML report?
    Thanks,
    Jim

    I haven't seen printing working correctly ever, in any version.
    I suggest you copy/paste the output to a decent editor and print from there...
    Regards,
    K.

  • Bug in SQL Developer Version 1.5.1

    I have a problem with the Database Export :
    The generated Insert-Command look's like:
    INSERT INTO atable (Field1, Field2) VALUES (10.'test');
    The Value-Separator is a point and not a comma.
    Is it a bug or have I chance to change the separator-parameter?

    Others have this problem as well... please check out this thread for more angles to attack this problem. Cheers.
    1.5 - Export to INSERT statements doesn't work
    -Tim

  • Meening of Geen Bug in SQL Developer 2.1.0.62

    I know this should be obvious to me, but is not and 2 other people I asked did not know either. What is the meaning of the green bugs that sometimes appear when you expand nodes (for example expanding the packages node)?
    I could not find the meaning in the documentation, but I have to say I did not know what to search for…
    Thanks

    Well, it's new and documentation isn't up to date yet, so don't worry if you don't know what it means.
    It actually indicates "compiled with debug info". For a minute you thought your code was infected, didn't you ;)
    Regards,
    K.

  • Bug Report - Unable to rearrange photos after importing with XMP.

    Summary: Files that have been 'exported' from another copy of Lightroom by attaching the XMP can then not be rearranged via drag-and-drop.
    System: Windows Vista, Lightroom 1.0
    I have several folders in the Lightroom database. Except for one folder, all of the images in the folders were imported into the Lightroom database directly from the hard drive holding the images.
    For one folder, the original images were first imported into a separate installation of Lightroom (on my laptop), sorted, adjusted, etc, and then the "Export XMP" routine was used for allowing import into the Lightroom database on my desktop. Import took place without any issues.
    Later it was discovered that the images can not be drag-and-drop rearranged in the folder that contains the files that were imported after the XMP export, but that images that are contained within folders that were imported directly into Lightroom can be properly drag-and-dropped.

    Catherine,
    I'm not sure why, but I've also noticed that clips on the viewer don't show up. You can work on them, however, by moving the clip to the timeline. Once its there and selected, it will show up in the Ken Burns window when you click on photo.
    Hope that helps.

Maybe you are looking for

  • Posting incoming invoice

    Hi, I defined a new "Terms of Payment" in configuration and defined the appropriate cash discount percentage rate.  I also created a customer master record and assigned the newly created terms of payment.  Using this new master record, I successfully

  • Hi all, need my logo on Illustrator to be altered so its ready to cut on a vinyl plotter

    Hi all, need my logo on Illustrator to be altered so its ready to cut on a vinyl plotter. Logo is currently on Illustrator and im looking to remove lines etc (hoping you can help me with what to remove) then to copy over to my Dr Stika Program and th

  • Flicker when tweening

    Hi! I'm making a banner in flash, and are moving some simple objects around. I mainy use vector squares, but when I tween them (classic tween) in a slow motion, the shape starts to "flicker" or "lag". Why is this? I think there has to be something wi

  • Migration / Upgrade SAP Solution Manager

    Hi We are using Solution Manager 3.1, W2000 Server, Intel, Oracle. Now it is necessery to Upgrade Solution Manager 4.0, to new Hardware with Windows x64, AMD, Oracle. It was very helpfull for me, if somebody could explain me the steps to do that. Tha

  • API Call to change page style

    Hi Does anyone perhaps know of an API call that will change the style of a page. Much appreciated Harry