Upgraded from APEX 3.1 to APEX 4.0.2, Interactive reports broken

I just recently upgraded from APEX 3.1 to APEX 4.0.2.
Am using IE 8.
Now whenever I click on a column header in an interactive reports I get a javascript error:
Message: Expected ')'
Line: 1
Char: 40984
Code: 0
URI: http://patchx:8080/i/javascript/apex_4_0.js
Am at my wits end on this one.
I can't see anybody else who has hit this error.
The demo application works okay.
I set up an interactive report with the same properties as the demo app, but i still get the error.
Any clues?

AHA, I just figured out what is making this happen.
I have a custom authorization scheme which calls a PLSQL function.
I had set the authorization scheme to "Once Per Page View".
This was causing the error to happen, although I still don't know why.
Unfortunately it is a problem because I need to authorize on each page.
This is because my plsql function must allow the login page authorization so we can capture the username to check against permissions. So I autmatically return true on the login page. But that means anybody can get in, because that is the once per session authorization as specified.

Similar Messages

  • APEX 5: Problem displaying breadcrum (Create) button on interactive report

    Hello There
    I am trying to build a small app in APEX 5. I am taking the default 'Sample Database Application' (SDA) as an example for design.
    In SDA the interactive report of Customer a breadcrumb 'Create which is displayed on the top right corner. I am trying to replicate the same in my interactive report, but in vain.
    I have attached the printscreen for your reference. Could you please guide and advise me on how to get the same functionality of breadcrumb create button,etc same as in displayed in SDA into my custom app in APEX 5?
    Thanks a lot for helping me out
    Regards
    Don

    hi ,
    i had used like this .. it is working...
    *&      Form  USER_COMMAND
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
                            R_SELFIELD TYPE SLIS_SELFIELD.
      clear : v_flag.
      CASE R_UCOMM.
        WHEN 'DATA'.
    LOOP AT IT_TEMP.
         if it_temp-checkbox =  'X'.
              v_flag = 'X'.
              v_pernr1 = IT_TEMP-PERNR.
    *--Get compensation data and populate final internal table
              refresh it_fin.
              CALL FUNCTION 'Z_HR_COMP_STATEMENT'
                EXPORTING
                  PERNR = v_pernr1
                  BEGDA = s_date-low
                  ENDDA = s_date-high
                TABLES
                  FINAL = it_fin.
              if not it_fin[] is initial.
                delete adjacent duplicates from  it_fin comparing pernr.
                read table it_fin index 1.
                move-corresponding it_fin to it_final.
                append it_final.
                clear it_final.
              endif.
            endif.
         enddo.
    ENDLOOP.
          if not v_flag is initial.
    *------ display final data
            PERFORM final_display.
          else.
            message s000 with 'Select atleast one pernr'.
          endif.
      endcase.
    ENDFORM.                    "USER_COMMAND
    regards,
    venkat.

  • Apex 4.1.1 Difference in Saving Private Interactive reports

    Hi,
    our customers found a difference in saving reports (interactive report) and i am not sure if it is a bug or a feature.
    Environment
    Redhat Linux 5.8 (64bit)
    Oracle 11.2.0.3.0 64bit
    Apex 4.1.1.00.23
    Description:
    - If i change a saved report (move columns or change filter etc.) i go to the action menu choose 'save report' and my saved report are changed permant and in the session. Thats ok and are to be expected.
    - If i change a saved report and click on the link_ of the saved report (on top of the Interacive report, the dialog box seems to be the same), only the session version of the report gets changed!
    I have checked this several times with the view APEX_APPLICATION_PAGE_IR_RPT.
    Is this a bug?
    regards,
    Wolfgang

    Hi Wolfgang,
    The behavior you are seeing is not a bug, but rather designed behavior. The saved report link in the report settings is rename report link. If you hover over the link, Rename Report bubble displays. You can change the report attributes such as name, public and description. To save the report settings (filter, highlight, sort, control break, etc.), you need to click Actions > Save Report to save.
    Regards,
    Christina

  • APEX 5.0 Upgrade from 4.2 successful but APEX doesnt work

    Hi,
    I just upgraded to APEX 5.0 from 4.2.
    The upgradeprocess is solved without mistakes.
    But when i try to go to the adminpage (like http://apexserver/pls/apex/apex_admin ) the browser is getting this:
    X-ORACLE-IGNORE: IGNORE X-ORACLE-IGNORE: IGNORE X-ORACLE-IGNORE: IGNORE X-ORACLE-IGNORE: IGNORE Content-Type:text/html; charset=utf-8 Cache-Control:no-store Pragma:no-cache Expires:Sun, 27 Jul 1997 13:00:00 GMT Set-Cookie:ORA_WWV_USER_61817374465583=ORA_WWV-mKS9zsXl3aEGSO7yn9sMhAo-; path=/pls/apex; HttpOnly Set-Cookie:ORA_WWV_RAC_INSTANCE=1; path=/pls/apex; HttpOnly Status:302 Location:f?p=4550:10:12821611738183:::::
    If i try to start an application (like http://apexserver/pls/apex/f?p=110) it shows this:
    X-ORACLE-IGNORE: IGNORE X-ORACLE-IGNORE: IGNORE X-ORACLE-IGNORE: IGNORE X-ORACLE-IGNORE: IGNORE Status:302 Location:f?p=110:1::::::
    The Webserver is an IIS with Thoth-Gateway.
    Anyone knows the reason of these errormessages?
    thanks,
    Marco

    Hi Maco W.,
    The Webserver is an IIS with Thoth-Gateway.
    Anyone knows the reason of these errormessages?
        The upgrade is successful as it has nothing to do with Web Server, it just upgrades the database objects.
        This maybe due to you are not using a Web Server recommended by Oracle.
        Refer : https://docs.oracle.com/cd/E59726_01/install.50/e39144/overview.htm#HTMIG367
        There may be change in how APEX 5.0 handles the HTTP requests, which is not supported by IIS.
        Moreover, the developer of Thoth-Gateway(Morten Braten) may have developed it keeping APEX 4 in mind.
        Switch to Oracle Supported Web Server options given above, which will resolve your issue.
        Hope this helps!
    Regards,
    Kiran

  • Upgrade from HTMLDB 1.6 to Apex 2.2.1 -- Steps

    Hi,
    Does anyone know where I can download the Install software to run on HP-UX to upgrade to newer version? ...
    I tried looking in the otn download center, all I get is a command line install/upgrade not the Oracle Universal Install.
    If you know please include the URL...
    Thanx
    Vijay.

    Hello Vijay,
    To upgrade your HTMLDB you need to run the new version installation. The installation script will identify the existing version and will upgrade it. You run the installation script using sql-plus, and not a universal installer. You should download the distribution file, unzip it, and read the installation manual. It will give you a clear view on the process.
    Regards,
    Arie.

  • Interactive report with apex 3.2 oracle 11g

    Hello all,
    We are using oracle apex 3.2 oracle 11g .
    i am using interactive reports using apex where the query is a outer join. In the interactive rport i am using collections frame work. apex_collection.create_collection_from_query_b
    I am getting the following error ..
    ORA-04030 OUT OF PROCESS MEMORY WHEN TRYING TO ALLOCATE 16328 BYTES
    Pls let me know .
    thanks/kumar

    Are you saying the you are creating a collection using the create_collection_from_query_b API and then using the select c001,c002,.. from apex_collections in the Query of the IR?
    Is the creation of the collection failing (process) or the collection is getting created and you are getting the error when region tries to render the report?
    Regards

  • Problem passing parameter from one interactive report to another

    Hi.
    I'm going slightly mad over this simple problem.
    Apex 4.0.2 installed. Created one interactive report with 4 columns, one is linked to a custom target which is another interactive report where the column is used in the WHERE clause through a hidden field value.
    This works fine in other applications on same Apex install, but not in this one.... Writing the hidden field to the screen shows that it gets the correct value from the first report, but the SQL-query returns no rows when querying on the :<parameter_name> value (there are rows in database - query runs fine when hard coding a value).
    Tried link column both directly from the column value link definition, and from the report definition - both pass value ok to hidden field, but SQL-query doesn't pick it up.
    Tried deleteing and recreating second report page, same problem.
    Anyone else had this problem? Are there any properties on the pages/fields that I've forgot to set, that may cause the session value not to be set when the query is running? I've got it working in other apps, and can't find anything done differently there....
    Regards,
    -Haakon-

    Yes, it shows the correct value. Also creating a second text field and assigning it the Source value of the hidden field shows the correct value in the textbox on page load.
    It's only the report's sql query that doesn't seem to get the value. Hard coding a document number (without hyphens etc) works fine, I get the expected records - so the rest of the query is correct.
    Tried '=' and LIKE - but still nothing...
    It's just the sql variable substitution of :P21_DOCNO that under no circumstance will work.... also tried a simple pl/sql block with the variable - nothing.... using the V('P21_DOCNO') - nothing....
    It seems like the sql query is parsed and run before the hidden field gets it's value or something....
    This is very strange - as it works in another application on same Apex installation.

  • Strip Tags From Interactive Report Download.

    Hi,
    Is it possible to strip html tags from a column during a CSV download on a interactive report?
    Basically i have a report where one of the columns is as follows
    453<font color="red"> | </font>0
    but in the download i want to strip out the tags so in the csv the column would show
    453 | 0
    Any ideas how i can do this using the standard csv download from the drop down menu?
    Thanks Andy

    Just wondering if any one had any thoughts on how I may be able to do this

  • How to upgraded from apex 3.2.0 to 3.2.1?

    H gurus,
    I am using oracle 10g xe with apex 3.2.0, I would like to upgrade to 3.2.1, but I got no support and thus no access to metalink.
    I did this for upgrading,
    I droped user apex_030200 and then upgraded with the 3.2.1 install file, seems everythings going nice, except there's error about flow_files schema already exsited.
    and I found I didn't need to upgrade the image file as well.
    Is that way Ok for upgrading from 3.2.0 to 3.2.1? by far seems nothings wrong.
    Peter

    Hi Jarola,
    Sorry, I made a mistake when I chose the ORACLE_HOME directory, I did it again to loading the images, without any more errors.
    Seems I did it, nothing wrong.
    But I found the bug-fix I expected is still not being fixed, that is,when I upload excel files with the utility/data_load tool, I still encounter error messages sometimes, I have to repeat and made it right.

  • Oracle Apex patch number  to upgrade from Apex 4.0.2  to 4.1

    We have Apex 4.0.2
    We wanted to upgrade 4.1
    What is upgrade patch number for this upgrade so we can download from metalink

    Hello,
    as far as i know there is no patch to upgrade from 4.0.2 to 4.1.
    Just download the full 4.1 from http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
    Regards,
    Dirk

  • Upgrading from APEX v3 to 4 issues

    Hi,
    I am trying to upgrade from APEX version 3 to v4, and we have the following issues:
    * The buttons are not working (doesn't do anything when pressed)
    * The show edit links are automatically displayed, and the edit link arrows are outlined in blue.
    * The values are not being saves on the session.
    I exported the application and imported into the oracle development forum and everything work fine.
    We get the following error when using IE;
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E)
    Timestamp: Tue, 1 Feb 2011 22:50:26 UTC
    Message: 'apex' is undefined
    Line: 73
    Char: 1
    Code: 0
    URI: http://pcaapex01.pca.ad:7777/pls/apexdev/f?p=101:2:798892704964590::YES
    Any help will be appreciated.
    Thanks.

    Hi alberto,
    i suppose that your application file prefix is incorrect for your application. Can you please verify that the directory specified in "Image Prefix" at Application Builder > Edit Application Properties is correct. You can test that with
    http://yourdomain:yourport/<value specified in image prefix>/apex_version.txt
    for example
    http://apex.oracle.com/i/apex_version.txt
    The application file prefix should be set to the same value you have entered during the installation of APEX 4.0?
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Applications not working after upgrade from apex 3.2 to apex 4

    hi,
    we've created an application with apex 3.2 which works fine.
    today we upgraded apex 3.2 to apex 4. after the upgrade the application doesn't work anymore.
    we recognized the following things:
    - interactive reports don't work anymore
    - tabs don't work anymore
    - buttons don't work anymore
    what do we have to do, to get our apex 3.2 application to work with apex 4?
    regards,
    matthias

    I've seen similar problems to my applications. I've found a problem with the derived columns or link columns in reports. The only solution I founded is to delete the columns and then make them again. Now are working. No problem founded specifically for the interactive reports. If there is an automated solution for the derived columns or link columns it will be appreciated ;-).

  • Form element id changed after upgrading from APEX 3.2.1 to 4.0.2

    Hi,
    We are in the process of testing an upgrade of our APEX 3.2.1 app to 4.0.2. The production database was exported, imported as a new database, and then upgraded to 4.0.2. I've noticed that on pages where we have coded our own PL/SQL process in place of the built-in MRU, the form element id (referenced using g_fxx) has changed. For example, in our existing production system, the id for the first row of data is f06_0001, but when we look at the same page in APEX 4.0 environment, the element id has changed to f08_0001. Is this a known issue when performing an upgrade? Has anyone else experienced this?

    Hi,
    I have seen this problem.
    I assume that Apex 4 do not give fxx name to items anymore in order where columns are in query.
    This is one of reasons why we have not been yet able to upgrade.
    And it seems this same problem exists in Apex 4.1 on apex.oracle.com
    Regards,
    Jari

  • About upgrade from previous version of Apex to a higher version-XE

    Hi,
    We are using Apex based on database 10g Xe, but we found that it is not easy to upgrade to a newer version of apex, becuase we have to install the full version at every realease of a new apex.
    We cannot access Metalink to find the patchsets for upgrade, will you make it easier for upgrading the xe, like, put a upgrade file in the full realease?
    Or enable downloading the upgrade patchset out of Metalink?
    Is that possible?
    Peter

    Hi John & Arie,
    Thanks for your kind answers, at currently we are not considered an upgrade, becuase our database is so small, and so little end users for my apex app, I am only running a very small, not much feature apex app, and only with cocurrent users 2, total users 5. We used the app almost one year, and if I expdp the schema I am using for work, it is only 4.5MB.
    It is totally my personal stuff, I found it is very effiecient, becasue otherwise I have to do the samething with MS Excel, my small app, though humble, but much better than Excel.
    I may consider an upgrade if I made a success step with Bill of Material and the warehouse management, in the future, currenlty I still don't have to gut/skill to do so, I am struggling with PL/SQL now, the basic stuff.
    So, I think any upgrade will be too expensive for us, and I even dreamed the printing with BI, but that is just too expensive for my humble app.
    yeah, though without access of Metalink, we can still find some very good workarounds, thanks to the apex/Oracle team, and guys/girls like you that offer kind of free services at this forum.
    I just did the upgrade with the full installation, I drop everything and reloaded them after upgrading.
    Took me around 1.5 hours to do so.
    Cheers,
    Peter
    Edited by: PeterCN on Sep 7, 2008 9:17 PM

  • Minor bug upgrading from apex 3.1 to 4.1

    I have an application written by someone else in apex 3.1. When upgrading to apex 4.1 some pages failed to work. This was because for some reason there was a condition on a process which had a begin and end when the condition was of type: "NOT EXISTS (SQL qurey returns no rows".
    This was combines by the process being:
    begin
    null;
    end;
    Anyway I thought I might share obviously this was crap code but maybe the upgrade process should run better then that.

    Hi Ben,
    are you upgrading your existing machine or are you setting up a new environment with Oracle 11g and APEX 4.2? If that's the case you can use have a look at http://www.talkapex.com/2012/04/command-line-backups-for-apex.html which creates export scripts for all your workspaces and applications. Those export scripts can than easily be imported with SQL*Plus. Note: Please have a look at bug# 14777994 in our Known Issues list at http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-42-known-issues-1863578.html
    If you are upgrading your existing database, you don't have to export/import. When you upgrade APEX to 4.2 all your existing workspaces and applications will be upgraded to 4.2 as well.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Maybe you are looking for

  • Syncing iPhone With Outlook Calendar

    Hello all, I've been using my iPhone 4 (latest firmware - 4.3.3) and syncing contacts, calendars & notes with Outlook 2003 in Windows Vista for some time now & all has worked fine. I also Outlook to access my Hotmail e-mail. I've recently re-installe

  • Installing Snow Leopard on 2011 (newest) MacBook Air?

    I was wondering if it is possible to install Snow Leopard on my July 2011 MacBook Air that came with Snow Leopard (I know that Apple does not recommend installing earlier versions of OS X on your Mac but I simply have too until some of the bugs are i

  • Mobile datanetwork not possible

    I always get this problem when i'm in my message or writing messages. Anyone know how to fix this problem tried a lot but nothing worked Message was edited by: pennzoil

  • Motion calibration

    For some reason on iPhone 6, the motion calibration location services is always on. I do not know which application could be forcing this to turn on always, but it's getting annoying. Anyone know of any common apps that might cause this or is this ju

  • Read and upload voiceprompt ccx 8

    Hi all. I have a couple of customers using a scropt that lets them record, review and upload voiceprompts. They can store 9 prompts of each type for example "Message of the day". Later on the can review those prompts and activate them. Now with uccx