APEX Documentation Bug: APEX_UTIL.CLEAR_PAGE_CACHE

For APEX Team (documentation)..
APEX_UTIL.CLEAR_PAGE_CACHE says the parameter is p_page when it should be p_page_id.
Martin

Martin - Thanks.
Scott

Similar Messages

  • APEX 4.1 APEX_UTIL.CLEAR_PAGE_CACHE Bug

    Hi,
    I found the following issue in APEX 4.1. It's easiest described with an example:
    Before going into a page process suppose P1_X = 'abc' in session state;
    -- First page process (coming in P1_X = 'abc')
    l_backup := :P1_X;
    apex_util.clear_page_cache(:app_page_id);
    :P1_X := l_backup;
    -- Second page process (following the page process above)
    -- This prints the value of P1_X to the screen
    sys.htp.p(':P1_X: ' || nvl(:P1_X, 'null'));
    -- Results:
    -- APEX 4.0: (expected value)
    :P1_X: abc
    -- APEX 4.1 (incorrect)
    :P1_X: nullIf I change +:P1_X := l_backup;+ line to apex_util.set_session_state('P1_X', l_backup); the output is:
    -- Results (correct):
    -- APEX 4.0:
    :P1_X: abc
    -- APEX 4.1
    :P1_X: abcIf I change the +:P1_X := l_backup;+ line to +:P1_X := 'def';+ the output is:
    -- Results (correct):
    -- APEX 4.0:
    :P1_X: def
    -- APEX 4.1
    :P1_X: defIt appears in 4.1 that any time a page item is set following a clear cache call (this issue also happens for clear_app_cache) and the page item value is the same as it was before the clear cache value (using a bind variable set) then its value is null in session state once the page process completes.
    This was found in APEX version 4.1.1.00.23 and compared against 4.0.2.00.09
    Martin
    http://www.ClariFit.com
    http://www.TalkApex.com
    Edited by: Martin Giffy D'Souza on Oct 5, 2012 3:36 PM

    Hi Martin,
    thanks for reporting this. This change was introduced during a code reorg in 4.1.
    The reason for the current behaviour is our dynamic code exec implementation:
    1. create cursor and parse as user
    2. for all bind variables:
    3.      save session state value in local variable array
    4.      bind local value in cursor
    5. execute cursor
    6. for all bind variables:
    7.     if current bind value is different to local variable array value:
    8.         save current value in session state Step 7 only detects a change if the bind variable value itself has been modified in the dynamic pl/sql block. I filed bug #14731783 to fix this, but we will probably ship it with the first patch set.
    As a work-around, you should be able to use
    l_backup := :P1_X;
    apex_util.clear_page_cache(:app_page_id);
    apex_util.set_session_state('P1_X', l_backup);
    which does not rely on the dynamic code exec for writing back the original value of P1_X.
    Regards,
    Christian

  • APEX documentation bug: Application Builder User's Guide

    Oracle® Application Express Application Builder User's Guide Release 4.0, chapter 12
    >
    Viewing Debug Deports
    >
    Should read "Viewing Debug Reports".

    Thank you for noting this. I've passed the information along to the Application Express writers.

  • Documentation bug- -Djava.security.policy==weblogic.policy?

    All,
    According to the documentation, an example of invoking weblogic server
    from the command line for JDK1.2 is as follows:
    JDK 1.2 (Java 2) example
    $ java -ms64m -mx64m -classpath c:/weblogic/classes/boot
    -Dweblogic.class.path=c:/weblogic/classes;
    c:/weblogic/license;c:/weblogic/lib/weblogicaux.jar;
    c:/weblogic/myserver/serverclasses
    -Djava.security.manager
    -Djava.security.policy==c:/weblogic/weblogic.policy
    weblogic.Server
    Is the property
    -Djava.security.policy==C:/weblogic/weblogic.policy
    correct in that there are 2 equals signs? Should this be rather:
    -Djava.security.policy=C:/weblogic/weblogic.policy?
    It seems as if either works, I just wanted to clarify, as I've noticed
    our startup scripts use the former and not the latter.
    Thanks,
    Ben

    Hi Ben,
    the doc is correct, there is a semantic difference between '==' and '=',
    check
    http://java.sun.com/j2se/1.3/docs/guide/security/spec/security-spec.doc3
    .html for details.
    Daniel
    -----Ursprüngliche Nachricht-----
    Von: Benjamin D. Engelsma [mailto:bengelsm@NO_SPAM.gfs.com]
    Bereitgestellt: Mittwoch, 4. April 2001 16:30
    Bereitgestellt in: environment
    Unterhaltung: Documentation bug->
    -Djava.security.policy==weblogic.policy?
    Betreff: Documentation bug-> -Djava.security.policy==weblogic.policy?
    All,
    According to the documentation, an example of invoking weblogic server
    from the command line for JDK1.2 is as follows:
    JDK 1.2 (Java 2) example
    $ java -ms64m -mx64m -classpath c:/weblogic/classes/boot
    -Dweblogic.class.path=c:/weblogic/classes;
    c:/weblogic/license;c:/weblogic/lib/weblogicaux.jar;
    c:/weblogic/myserver/serverclasses
    -Djava.security.manager
    -Djava.security.policy==c:/weblogic/weblogic.policy
    weblogic.Server
    Is the property
    -Djava.security.policy==C:/weblogic/weblogic.policy
    correct in that there are 2 equals signs? Should this be rather:
    -Djava.security.policy=C:/weblogic/weblogic.policy?
    It seems as if either works, I just wanted to clarify, as I've noticed
    our startup scripts use the former and not the latter.
    Thanks,
    Ben

  • DOCUMENTATION BUG: Broken link in APEX 4.0 API Reference

    In the See also section of the <tt>apex_util.remove_preference</tt> method, the *"Managing Session State and User Preferences"* link is dead:
    olink:AEADM110|Managing%20Session%20State%20and%20User%20Preferences

    The broken lin in APEX 4.0 API Reference has been corrected. The latest updated version of this document is now available on the Oracle Technical Network (OTN).
    Thanks for reporting the bug,
    Drue Swadener
    Principal Technical Writer

  • Apex 4 JavaScript API documentation bug

    Hi,
    JavaScript API documentation have exactly same description for functions
    $f_Hide_On_Value_Item
    $f_Show_On_Value_Item
    >
    Checks an page item's (pThis) value against a value (pValue). If it matches, a DOM node (pThat) is set to hidden. If it does not match, then the DOM node (pThat) is set to visible.
    >
    And also functions have same description
    $f_Hide_On_Value_Item_Row
    $f_Show_On_Value_Item_Row
    >
    Checks the value (pValue) of an item (pThis). If it matches, this function hides the table row that holds (pThat). If it does not match, then the table row is shown.
    >
    I think that is not correct
    http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/javascript_api.htm#CHDHIAJB
    Somehow I recall there has been post about this, but I can not find it.
    Regards,
    Jari

    The description of these functions have been corrected. The latest updated version of this document is now available on the Oracle Technical Network (OTN).
    Thanks for reporting the bug,
    Drue Swadener
    Principal Technical Writer

  • Documentation bug/typo in Apex 4 workspace export

    To someone on the Apex dev team:
    I just did a workspace export from Apex 4, and noted the following remark near the top of the generated file:
    This script can be run in sqlplus as the owner of the Oracle Apex owner.I can't make any sense of that statement. I know I can run the script as SYS, and perhaps as a used with the APEX_ADMINISTRATOR_ROLE, but I'd like the generated text in the script to be corrected/clarified.
    Thanks!
    - Morten
    http://ora-00001.blogspot.com

    Bump.
    - Morten
    http://ora-00001.blogspot.com

  • APEX 4 - Bug - default jQuery UI Datepicker - minDate maxDate

    Hi,
    I came across a strange bug in my dev environment and I was able to reproduce it on apex.oracle.com.
    http://apex.oracle.com/pls/apex/f?p=696969:1
    All datepicker items (even in tabular form) following a datepicker item with a minDate and maxDate will share the same date range.
    Thanks in advance to the APEX dev team.
    Louis-Guillaume
    http://www.lgcarrier.com
    http://www.apexframework.com

    Hi,
    Thanks for the support.
    Here's a piece of JavaScript code that I run on page load using a Dynamic Action.
    function set_date_pickr_read_only() {
    apex.jQuery("input[name='f03']").attr('readonly','true');
    set_date_pickr_read_only();
    gNewRowDatePicker = 'apex.widget.datepicker("#f03_0000", { buttonImage: "/i/asfdcldr.gif", buttonImageOnly: true,"buttonText":"Calendar","minDate":new Date(apex.item("P3_MINM_WEEK_DATE_JS").getValue()),"maxDate":new Date(apex.item("P3_MAXM_WEEK_DATE_JS").getValue()),"showTime":false,"defaultDate":new Date(apex.item("P3_MINM_WEEK_DATE_JS").getValue()),"showOn":"both","showOtherMonths":true,"changeMonth":true,"changeYear":true}, "DD, d MM, yy", "en-ca")';
    addRow_orgn = addRow;
    addRow = function() {
    addRow_orgn();
    set_date_pickr_read_only();
    apex.jQuery("input[name='f03']").datepicker("option", "minDate", new Date(apex.item("P3_MINM_WEEK_DATE_JS").getValue()));
    apex.jQuery("input[name='f03']").datepicker("option", "maxDate", new Date(apex.item("P3_MAXM_WEEK_DATE_JS").getValue()));
    Louis-Guillaume Carrier-Bédard
    http://www.lgcarrier.com
    http://www.apexquebec.com
    http://www.apexframework.com

  • APEX 4 Bug: Wrong quickpicks in Item Page's Read Only section

    This bug is an easy one
    In Edit Page Item page, Read Only section, the predefined option list (now quickpicks) is as follows:
    [PL/SQL] [item=value] [item not null] [request=e1] [page in] [page not in] [exists] [none] [never]
    But if you look carefully, Conditions section has same quickpicks. Right quickpicks for Read Only should be:
    [PL/SQL] [item=value] [item not null] [request=e1] [page in] [page not in] [exists] [always] [never]
    Best regards.
    Oscar

    Hi Oscar,
    this problem has already been filed as bug# 9752881 and will be addressed in a future release.
    Thanks
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • Documentation bug - "creating an about box" in wrong topic

    I think I found a small error in the documentation for LabVIEW 2012. Under the Index tab, find 3D Surface. For some reason, the topic "Creating an About Dialog Box for a Stand-Alone Application" is listed under it, even though it has nothing to do with the 3D Surface plot. See attached image.
    Solved!
    Go to Solution.

    Hi nathand,
    Thanks for the freedback. I will make sure this bug gets reported to the correct poeple and fixed.
    TimC
    National Instruments
    Applications Engineer

  • Apex 4 - Bug - Button image automatically adding /i/ at the beginning

    Hi,
    APEX generates a /i/ at the beginning of the image path if you don't start your input value with a slash (*/*).
    Steps to reproduce the bug
    -Create a regular button.
    -Modify the button properties (attributes)
    -Set Button Style to image
    -Set Button Image to *&A_APP_FOLDR.icon_editn.png* (should render: /res/app01/images/icon_editn.png)
    The result is: <img border="0" alt="Éditer" src="*/i//res/saf/icon_editn.png*">
    Notice the */i/* at the beginning.
    Now, if I do the same but I add a slash before my bind variable.
    -Set Button Image to */&A_APP_FOLDR.icon_editn.png*
    The result is: <img border="0" alt="Éditer" src="*//res/saf/icon_editn.png*">
    I know how to workaround this one. ;) But I am looking for a permanent fix.
    Thanks in advance to the APEX dev team for the proper correction.
    Louis-Guillaume
    http://www.lgcarrier.com
    http://www.apexframework.com

    This workaround seems to work for region buttons but not for item buttons. Item buttons still have the /i/ prepended to them.

  • Documentation bug?

    Is the documentation right when it states that the getKeyPartition mathod must be in the range [0..N), where N is the value returned from PartitionedService.getPartitionCount()? I would have guessed it should be in the range [0 .. N - 1]?
    /Magnus

    Hi Magnus,
    With the set notation on the page linked by Rob, [0..N) and [0..N-1] are equivalent (for integers).
    For example, if N=3 (partitions) then:
    * [0..N) represents the set {0, 1, 2}
    * [0..N-1] also represents the set {0, 1, 2}
    Using your example, the code should be "xxx % PartitionedService.getPartitionCount()" (or an appropriate equivalent).
    Of course, that same page also points out that ")" is rarely used with integer intervals. And I agree that it would be more clear to use the closed interval notation [0..N-1]. I'll enter an enhancement request for the javadoc.
    Jon Purdy
    Oracle

  • For the apex-team : bug in apex ???

    Hi apex-team,
    if i make a master-detail report i can choose between a result of two pages (master and detailmaster with mru for the detail) , or a result with three pages (master, detailmaster with a report of detailtabel and a form for the detail-table.
    apex creates in both cases but in the second situation (three pages) on the third page it's impossible to add a detail. (in the result with two pages everything works fine).
    both apex verson 2.2 and version 3.
    just to inform you.
    regards!
    Leo

    Leo:
    That is a good point. The home page is using a derived column, and the HTML Expression for the column formatting. That must escape the HTML.
    I think the fix for a future release would be to not use that derived column, and just use a standard report with a custom template. It is also possible that for announcements and tasks it is more appropriate to use a standard Textarea instead of Textarea with HTML Editor.
    Thanks for your feedback,
    Jason

  • APEX 4 Bug: IR's csv export includes extra div

    Hi
    In IR export, csv files includes a pair of extras /div at final end.
    Clasic Reports has no problems with csv export
    Tested in apex.oracle.com
    Oscar

    To provide a bit more information it's not just some extra div tags. Any extra HTML that appears after the #BODY# variable in a Region Template is included in the csv export.
    Martin
    Martin
    http://www.talkapex.com

  • APEX 5 Bug? Change Col order ends in Error processing update. ORA-01403: no data found

    Hi ,
    i have successfully migrated my 5 apps to apex 5 yeah. Wow, Migration was complted in 15 mins !
    But now i have  Problem: I have a classic report and want to chage the column order.
    But i always get  a
    Error processing update.
    ORA-01403: no data found
    Any Workarounds ?
    Thanks
    Marco

    Hi Patrick,
    the Copy App crashes with
    ORA-06550: line 79, column 18: PLS-00103: Encountered the symbol "WHERE" when expecting one of the following: ) , * & = - + < / > at in is mod remainder not rem => <an exponent (**)> <> or != or ~= >= <= <> and or like like2 like4 likec between || multiset member submultiset
    Execution  of the statement was unsuccessful. ORA-06550: line 79, column 18: PLS-00103: Encountered the symbol "WHERE" when expecting one of the following:  ) , * & = - + < / > at in is mod remainder not rem => <an exponent (**)> <> or != or ~= >= <= <> and or like like2 like4 likec between || multiset member submultiset
    begin  wwv_flow_api.create_list_of_values(  p_id=>wwv_flow_api.id(23215926281374548)
    Thanks for help !
    Marco

Maybe you are looking for

  • Hard reset is the only way to turn it on, stuck on repair loop. Tried everything. Tips?

    I'm going to be as descriptive as possible, in a hope to actually pinpoint an issue. Not too long ago, my "Lock" function starting acting wonky. It'd lock itself while "Unlocked", and vise versa. This happened for a few days, while all other function

  • Error report CLR20r3

    I have a windows service which stops and produces below error report. Can some one suggest what might be the problem? The windows service makes soket connects to other services and send and receive data. Version=1 EventType=CLR20r3 EventTime=13047093

  • Launching transaction iview frm webdynpro iview

    Dear experts, I am launching a transaction iview from a webdynpro iview. On click of button it launches the transaction:CV02N. The screen variables are: DRAW-DOKNR and DRAW-DOKAR. I am using absolute navigation. the code is as below: WDPortalNavigati

  • Unable to use the Assign Access Control feature in shared services

    Hi, When I try to right click on the essbase applicaiton in Shared Services to assign access control( to assign a new filter) I keep getting the following error " Internet cannot display the webpage" message with the following This problem can be cau

  • How to programatically display text in combo box?

    Is there a way to programatically display text in a combo box.  I would like to display the word "Select" in the combo box each time my program starts.  As it is now, my combo box displays the last string that was selected the last time the program r