upgrade of the apex 4 to 4.1 facing issues such as the protection of the State of Session

I have some areas that are read-only... But when I save it
so I'm dealing with protection of session error

Session state protection violation: this can be caused by manually editing the protected page P103_empid point. If you don't know what caused this error, contact the administrator of the application for assistance.
Communicate with your administrative application


Then when I change the p103_empid_no of the text field and remove the read only status
so I'm able to save...
If I make one point only display too he recorded record successfully. and the value of session state... then saves it
but the p103_subscriber_no do not value go to the required table...
Anyone has a work around on this please let me know

What I do is I use oracle xe version 4 which has been upgraded to 4.1
This page is called from another page... I'm feteching empid value on the page, hence it is called
That is to say... Page 10 that has empid inside value...

Published by: user12233760 on October 2, 2012 01:08

Ahh well that explains it, you can not have session state on protection and then change a value of field using Javascript or dynamic action. I have stop any dynamic action on the page and try again just to try to confirm that it is the root of your problem.

These 2 threads will help:
https://CN.forums.Oracle.com/forums/thread.jspa?threadID=2383592
https://KR.forums.Oracle.com/forums/thread.jspa?threadID=2362573&start=0&TSTART=0

Thank you

Paul

Tags: Database

Similar Questions

  • Disorder affecting the State of session of a select element.

    Hello

    I have a requirement in which I need to change the State of an item in the list of selection session in my form without having to submit. I use the Application Express 4.1.0.00.32. I thought it would be right by using a dynamic action front or the javascript and the call to an application process on for example.

    P1_MY_SELECT onchange = "set_option (); »

    set_option() {} function
    var l_option = $('P1_MY_SELECT') f_SelectValue;
    Alert ("is my new value" + l_option);

    UPON REQUEST, set the new session state
    var lRequest = new apex.ajax.ondemand
    ('SET_P1_MY_SELECT', function)
    {/ * Start the return function * /}
    L_S var = p.readyState;
    If (l_s == 1 |) L_S == 2 | L_S IS 3)
    {}
    Another yew (l_s is 4)
    {gReturn = p.responseText;}
    (gReturn)? json_SetItems (gReturn): null;
    }
    else {return false ;}
    / * put an end to the return function * /.
    }
    );
    lRequest.ajax.addParam ('x 01', l_option);
    lRequest._get)

    };

    My application process on request

    DECLARE
    l_options varchar2 (2000): = wwv_flow.g_x01;
    BEGIN
    APEX_UTIL. SET_SESSION_STATE ('P1_MY_SELECT', l_options);
    apex_util.json_from_items ('P1_MY_SELECT');
    END;

    Is there a better method to set the session to the State of my other P1_MY_SELECT than I do as above, or you can tell me why P1_MY_SELECT session state is not changed?

    Thank you.

    Published by: 968358 on November 1, 2012 08:40

    If you are in 4.1 Why don't you use a dynamic action instead of writing the code again?

    create a dynamic action like this

    Event: Change
    Type of source: Agenda
    Point: P1_MY_SELECT

    Real Action:
    =========
    Action: Run of the Plsql Code
    Plsql Code: null;
    Items to submit page: P1_MY_SELECT
    Page referred to return: P1_MY_SELECT (this is optional)

    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21674/advnc_dynamic_actions.htm#HTMDB27020

  • What are the values of the State of Session State?

    No one knows what the I, R and U values in the status column for the status of Session screen average?

    Can't seem to find any documentation about them.

    For a given page or element of the request:

    Inserted - the value is stored in the table of session state for the first time in the session.

    Update: the value that was already in the table of session state has acquired a new value.

    Reset - the value that was already in the session state table is changed to null using a clear-cache event.

    Scott

  • Element of the State of Session

    Hi all

    I have a p2_building of name of text field with these settings:
    Display as: text field
    Source: replacement always, value that exists in session state
    Source type: column database
    Source of value or an Expression: BUILDING

    I have an element named p3_building, with these settings:
    Display as: text (escape special characters, does not save the State)
    Source: only when session state is null
    Source type: Element (application of the name of the item page)
    Source of value or an Expression: P2_BUILDING.

    Navigate to page 2, and p2_building appears with a value. I click on a button on page 2 to access a page pop up 3. Especially: a redirect without the page by using a url of type "javascript:popUp2('f?p=&APP_ID.:2:&SESSION.','250','750')"; p3_building displayed as null.

    Any ideas would be greatly appreciated.

    Thank you.

    Chris,

    The elements of page 2 extracted by the process of extraction (ARF) automated line are not saved in session state persistent (database table) until the page is sent. You can pass in the link to the popup page (also assuming you meant specify page 3 in this link) like this:

    JavaScript:popUp2('f?p=&APP_ID.:3:&session.::no::P3_BUILDING:&P2_BUILDING.','250','750');

    Scott

  • Alter the State of Session? -Apex form publishes text with null value

    Recently I discovered a problem with our Apex facility in which all selected as source for a text field value will eventually be displayed as a null value in the database.
    We run APEX version 3.2 in an Oracle 10.2.0.4 database using Oracle HTTP Server from 10 g companion disc.

    At first glance, everything seems to work as expected; I created a simple table called "oracle_sr" with 2 columns, as both not null:

    SQL > desc capacity.oracle_sr
    Name Null? Type
    ORACLE_SR_ID NOT NULL NUMBER
    TIMESTAMP NOT NULL DATE

    In APEX, the form wizard has been used to create a form on this table.
    After execution of the pages and you enter a value for the timestamp field, I can create folders without problem.

    The question arises when I choose a source for the timestamp field value.
    All the source options causes the same error (including a static value) so I'll focus on the SQL query to the source as:

    Select sysdate double;

    This should replace the date system in the area of text timestamp when the page is executed.
    As expected, the value appears in the text box, but when I submit the form to create the folder I get the error:

    ORA-01400: cannot insert NULL into ('ABILITY'. "" "" ORACLE_SR '. "" TIMESTAMP")

    I have worked with APEX for quite awhile and have successfully used this technique in many applications but just to begin to see this error in recent days. What's particularly odd about this message is by default postings "not null" created by the form wizard sees timestamp class as having a value. Session state information included below reports a value yet the database is to launch the ORA-01400.

    Someone has a similar problem? I have spent a good amount of time to try looking for this problem but can't seem to find any similar messages.

    I have included the release of my test page, debugging from what I see, it seems to be a value associated with the filed timestamp:

    0.00: a C C E P t: request = "CRΘER."
    0.00: metadata: go look up the definition and application shortcuts
    0.00: NLS: wwv_flow.g_flow_language_derived_from = FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language = en - us
    0.00: alter session set nls_language = "AMERICAN."
    0.00: alter session set nls_territory = 'AMERICA '.
    0.00: NLS: CSV charset = WE8MSWIN1252
    0.00:... "NLS: decimal separator Set =". »
    0.00:... NLS: Set NLS Group separator = ",".
    0.00:... NLS: Date Format Set = "DD-MON-RR.
    0.01:... Setting session time_zone in-06: 00
    0.01: setting NLS_DATE_FORMAT application date format: DD-MON-RR
    0.01:... NLS: Date Format Set = "DD-MON-RR.
    0.01: fetch database session state
    0.01:... Check the owner of the 2303701116904676 session
    0.01: setting NLS_DATE_FORMAT application date format: DD-MON-RR
    0.02:... NLS: Date Format Set = "DD-MON-RR.
    0.02:... Check for expiration of the session:
    0.02:... Metadata: Page Fetch, calculation, process and branch
    0.02: session: extract information from session header
    0.02:... Metadata: Retrieve the attributes of the page for application 109, page 50
    0.02:... Validate page affinity point.
    0.02:... Check off the items hidden_protected.
    0.03:... Check authorization security systems
    0.03: session state: Save elements of form and p_arg_values
    0.03: *... Session state: you save newValue of the object "P50_ORACLE_SR_ID" = "" "escape_on_input ="N"* 0.03: *..." " Session state: you save the object "P50_TIMESTAMP" = newValue ' 26 May 09 "" escape_on_input = "N" * ""»
    0.03:... Session state: Save "P0_CURRENT_PERSONNEL_ID" - registration of same value: "1."
    0.03:... Session state: Save "P0_OFFSET" - registration of same value: "0".
    0.03:... Session state: Save "P0_ACTIVE_WEEK" - registration of same value: "24 May 09".
    0.03: point of treatment: ON_SUBMIT_BEFORE_COMPUTATION
    0.03: branch point: BEFORE_COMPUTATION
    0.03: point of calculation: AFTER_SUBMIT
    0.03: tabs: make the connection for the tab queries
    0.03: branch point: BEFORE_VALIDATION
    0.03: perform validations:
    0.03:... Point Not Null Validation: P50_TIMESTAMP
    0.04: branch point: BEFORE_PROCESSING
    0.04: point of treatment: AFTER_SUBMIT
    0.04:... Process 'PK get': PLSQL (AFTER_SUBMIT) declare function get_pk return varchar2 is begin C1 in (select ORACLE_SR_SEQ.nextval double next_val) loop return c1.next_val; end loop; end; Start: P50_ORACLE_SR_ID: = get_pk; end;
    0.04:... * session state: saved point new value "P50_ORACLE_SR_ID" = "6."
    0.04:... Treat "Line of ORACLE_SR process": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER #:ORACLE_SR:P50_ORACLE_SR_ID:ORACLE_SR_ID | IUD
    0.04: see the error page...
    0.04: execute rollback...

    ORA-01400: cannot insert NULL into ('ABILITY'. "" "" ORACLE_SR '. "" TIMESTAMP")

    Cannot process the row in the ORACLE_SR table.
    Back by demand.

    Any thoughts would be appreciated.

    Thank you

    Justin.

    If you have changed the Source Type of an element of database column to something else, so he cannot participate in the automated line choreography Fetch/automatic line processing (DML). You must leave the Type of Source, as it was and change the default value of the element fill when the ARF process retrieves a null value for the column.

    Scott

  • Referring to the State of session through DBLinks

    I got a lot of central security that access applications to provide item-level approval.
    These recent extensions of the security model requires additional information from the application, which is held in the Application parts.

    For various legacy reasons, I want to avoid having to add additional parameters to the functions of security called so I reference the elements of the application via the V() function. It works perfectly on local applications (in the same database), but V() returns null values if the application accesses the security function via a DB link.

    So, is it possible to access the session state from a package PL/SQL to an application that does not work on the same database?

    Concerning
    Richard

    Simple answer, no... You would be better off writing the information in a table or a passing information between applications...

    Thank you

    Tony Miller
    Webster, TX

  • disables the State protection of pages without argument running session

    Hi all



    Components shared = > Security = > authentication schemes = > Application Express - current

    I did the steps of folowwing:

    Components shared = > Security = > Protection of the State of Session = > button Set Protection
    in the screen folowwing press Enable followed by next
    in the next screen, tap the Protections of State Session enable



    in the page components shared > Session State Protection > Protection of the Session State by Page

    the two page 0 and 1 are unrestricted

    STIL, I can't start my application

    page error 1:
    No checksum has been provided to show the processing of a page that requires a checksum when one or

    ask more, clear the cache, or argument values are passed as parameters.


    page 0 and 1 have no element

    Page 1 has a region of the type list
    and uses the list available on page 0, but using a list template override od Pull Down Menu with

    Image of the same list on page 0 has a model list of Menu DHTML with sublist



    I am at a loss of the EUL solutions is the protection of the session off all State





    Help, please

    KR
    Martin

    It's a quirk in how the login page is called using the deep link, created by the manufacturer. To work around this problem, you can set page 101 to Unrestricted so that no amount of control is necessary.

    Scott

  • I have a server/database Application Express 4.1.1 running and a server/database Application Express 4.2.0 running. Is it risky to try to upgrade to the latest version and start using the universal or complex theme?

    I have a server/database running Application Express 4.1.1 and a server/database active Application Express 4.2.0. Is it risky to try to upgrade them both to the latest version and start using the universal or complex theme?  Is how easy it to do? Recommended?

    The servers are windows 2008 r2. Don't know if it matters.

    I'm not exactly an expert at the express request...

    Hi DJake,

    DJake wrote:

    I have a server/database Application Express 4.1.1 running and a server/database Application Express 4.2.0 running. Is it risky to try to upgrade them both to the latest version and start using the universal or complex theme?  Is how easy it to do? Recommended?

    The servers are windows 2008 r2. Don't know if it matters.

    I'm not exactly an expert at the express request...

    Please read the documentation of the requirement for Oracle APEX 5. Ensure that your environment meets these requirements. Upgrade your oracle database or other software if necessary components and then you can go right 4.1/4.2 to 5.0 update according to the above-discussed upgrade strategies in the above discussions.

    Reference: https://docs.oracle.com/cd/E59726_01/install.50/e39144/pre_require.htm#HTMIG376

    You should go for upgrade of the Oracle APEX of 4.1 to 5.x. Regression test your applications to remove if any errors introduced by upgrade. The kickoff of a new project to migrate your applications to universal theme.

    Reference:

    Kind regards

    Kiran

  • Upgrade of the Sierra: where are my pictures!

    Well, I see that a lot of people have this problem but have yet to find an answer to the problem anywhere.  My patience is lost, I despise the fact that I have * money on shit Apple but I need to find my photos.  Stupidly, I'm fallen for Apple BS again and "upgraded" in the Sierra.  Now all my photos and the Organization, that I spent a year are no longer accessible by something else as well as the new 'Photos '.  I never had iPhoto first, never used.  Each thread simple discussion I can find guard speaks of iPhoto and animated for the Photos news images.  I can see the picture files, but all my organization has disappeared; and I can't access my photos of any other application EXCEPT Photos!  If I could find an Apple exec I would slam their face until they cried!

    Someone has a REAL solution to get my photos and the Organization in the way it was before this stupid OS Sierra update?

    < re-titled by host >

    I think you should be able to find your photos here ~/Pictures/Photos Library.photoslibrary.

    Presumably, you could also restore your library and its organization of your backup so that you can continue to use any photo library program you usually use.

  • Can't change language after OS upgrade of the Sierra

    Hello world

    After the upgrade of the Sierra, my MacBook Pro has decided to return to the French.

    Now, I am unable to change the language on the menus and dialog boxes.

    I tried to put the English in language and text preferences, same problem.

    I also tried to run sudo languagesetup, same problem.

    Thanks for any help you can provide.

    See you soon!

    Language changes are not applied immediately to the running applications, but they should be applied to the applications that you start after the change is made. Changes to the Finder will apply if you raise, or to do it easily, just log out and back in.

    Log out and back in? Or restart your mac? If you didn't do it and let us know.

  • Difficulties with all versions of html files since the upgrade of the Sierra

    I have problems opening and dealing with htm, html, html5 files since the upgrade of the Sierra.  Someone else?

    Please provide details. What problems are you having? HTML files open in a web browser, the browser you are using?

  • I have macBook build 10K 549 and I want to upgrade to the new OS system available while one will work on my device

    I have macBook build 10K 549 and I want to upgrade to the new OS system available while one will work on my device

    It is impossible to tell from this information. Choose about this Mac from the Apple menu, click more information and search the model identifier.

    If it's MacBook1, 1, 10.6.8.

    If it is MacBook2, 1-MacBook4, 1, 10.7.5.

    If it's MacBook5, 1 or MacBook5, 2, 10.11.6.

    If it's MacBook6, 1 or greater, 10.12.

    (144865)

  • Canon MG7520 no work since the upgrade of the Sierra.

    MacBook Pro communicates only with the Canon MG7520. Tried to reconnect with USB to the printer, no joy.  Called Canon they are aware of the problems of the Sierra.  Someone at - it find a workaround until this Canon & Apple get together.  If you have a printer Canon DONOT upgrade until you hear the problem is solved.  How hard AND risky is to return to El Capitan via Time Machine.  I backed up BEFORE upgrading.  I've never done before.

    Thank you

    This can help, I have the MG7150 printer/Scanner and the only problem currently is that on some impressions, I get "has no filter' showing in the print queue and the photo prints never. Appears the Canon USA are aware of the issues for the drivers there and that they are working with Apple for a fix as soon as possible (nothing yet on the UK site, however) but for the foregoing, they offer a work around the State.

    https://www.USA.Canon.com/Internet/portal/us/home/support/self-help-center/Mac-O SX-compatibility.

    https://support.USA.Canon.com/kb/index?page=content & ID = ART166610

    I realize this does not help but if my printer seems to communicate ok otherwise, your question is perhaps up to a form of bribery.

    Have you tried to remove and then reinstall your printer via "Printers and Scanners" in System Preferences, if you right click on your printer (printers head to the left) and select "Reset printing system" this will delete your printing system, so you can then add your printer by clicking the "+" button down to the left. When the box opens 'Add' wait a few seconds so that all the drivers installed (apples and the factory if you have installed separately) appear - then simply select you need. In my case, I have two "Canon MG7100 series" to choose, the first is 'Hello' and the second 'Canon IJ Network' - see what is displayed for you and all try them, you can work and go you again.

    Finally, if you select the Hello option you can change what is offered as part of 'Use' of its default value (could be AirPrint) to another, in my case "Canon Mg7100 series.

  • should I remove imovie9 before upgrading to the latest version

    I need to upgrade to the latest version of iMovie as 9 does not respond with El Capitan.

    I completely remove 9B before doing this?

    Hello

    No, you don't need to delete iM9 before moving on to iMovie 10.1.2 (latest version).   Both versions may remain on your computer.   iM10.1.2 allows you to update your projects iM9 and events so that they will play on the new version.   So that's why you would leave iM9 on your computer, so that you can make the update.

    Best,

    Rich

  • I have Firefox installed 42.0 and works correctly. Yahoo on Firefox indicates this, but Yahoo on Chrome keeps asking me to upgrade to the latest Firefox

    I use mainly Firefox and Chrome only as an emergency backup. I still have backup third IE and Yahoo by default, thus opening 'IE' takes me directly to Yahoo.com. In Chrome and this 'fake IE', Yahoo says to upgrade to the latest Firefox. I even updated a second time to 42.0 Firefox but Chrome and 'fake IE' Yahoo wants the latest update me of Firefox. In Firefox, there is none that question. If so, can or should be done?

    airider said

    And I don't know how Firefox/Yahoo and non Yahoo/Chrome or IE/Auto-Yahoo acknowledges what version I am running.

    Browsers generally identify themselves to Web sites. If you want to see what your browsers send, you can use my test page - the "user agent" string is displayed in red:

    https://jeffersonscher.com/RES/jstest.php

    It is a little confusing: browsers may raise on behalf of other browsers to inform Web sites that they can deal with the pages designed for other browsers.

    But browsers do not send a list of ALL of your software on your computer - thank God - so if you visit a site with chrome, it cannot know which version of Firefox, you have, or even if you have Firefox at all.

    There is an exception to this absolute statement, called Flash Local Storage Objects, sometimes called super-cookies. If you visit a site in the browser F and allow the site to use Flash and store data on your computer, then when you visit the same site in the browser to C, if you allow the site to use the Flash, it can read these data and know that you have already visited and connect your two browsers.

Maybe you are looking for