Operation integrity Bug in APEX 5.0?

I have this Application Oracle APEX.

https://Apex.Oracle.com/pls/Apex/f?p=100207

Log in as demo/demo.

I changed the EMP table and made the obligatory WORK. But it is not set as required by the application. That's how I managed to find this problem.

I wanted users to have the ability to add new departments. To do this, there are 2 elements, DEPTNO DNAME new and new.

How to run a test case?

Create a new employee.

Enter name, leave it blank, Deptno

Enter a value for the new deptno and dname new.

Tap on create.

The insertion in the EMP will fail because the WORK has not been clarified. However, a PL/SQL process that was created to create the new Department until "Auto row DML" process will eventually insert the new Department.

Cancel and try to recreate a new emp. See the list of departments.

I thought that if any process in the processing chain fails, all processes are cancelled. But this isn't the case here. Why?

-Sriram.

Sriram h. Iyer wrote:

The insertion in the EMP will fail because the WORK has not been clarified. However, a PL/SQL process that was created to create the new Department until "Auto row DML" process will eventually insert the new Department.

I thought that if any process in the processing chain fails, all processes are cancelled. But this isn't the case here. Why?

Depends on exactly what process you use and the code used in each process. APEX, for example, implicitly commit as a result of the operations that modify the State of the session.

Post the details here, or better yet, share the credentials of developer to the workspace so that we can see the app directly.

Tags: Database

Similar Questions

  • Integration of Oracle Apex with EBS R12.1.1

    Dear all,

    We are in the process of integration Oracle Apex 4.0.2 with EBS R12.1.1 with the help of http://www.oracle.com/technetwork/developer-tools/apex/apex-ebs-wp-cabot-consulting-169064.pdf.

    After doing all the steps, the time where we sail of EBS to Apex application clicking on EBS links menu it ends with error below

    "404 not found".

    ' / OA_HTML/null/pls/apex/f resource not found on this server.

    After some tests, I found the code below in "LaunchApex.jsp" in order to get the value of profile (supposed to be "http://myserver:port") of custom system 'APEX_HTTP_SERVER' profile and prefacing of ' / apex/f? ' p = applicationid:page:APPS: ' does not work correctly

    "
    ...

    String l_launcher = ctx.getProfileStore () .getProfile ("APEX_HTTP_SERVER");
    l_launcher = l_launcher + "/ apex/f? p ="+ p_application +": "+ p_page;
    l_launcher = l_launcher + ': APPS: "+ p_item_names +": "+ p_item_values;

    ...

    "

    as we found that the profile custom system 'APEX_HTTP_SERVER' does not exist in the EBS system. But it works without any error page if we encode the URL of the entire application variable in l_launcher apex, but this hard brings us to the page of connection of EBS instead of the Apex application page.

    So I think that we can't work around by using the value of 'APEX_HTTP_SERVER' profile because it has something to do with the EBS application session.

    So could someone please help me how we could create custom profile system "APEX_HTTP_SERVER" or other options to make the transparent integration of apex Oracle with EBS works without any second login page

    Thanks in advance

    Published by: 805196 on August 25, 2011 12:23 AM

    Hi oar,

    you will need to change as the below in the jsp

    String l_launcher = ctx.getProfileStore().getProfile("OAE_LAUNCHER");
    l_launcher = l_launcher + "/apex/f?p=" + p_application + ":" + p_page;
    l_launcher = l_launcher + "::APPS:::" + p_item_names + ":" + p_item_values;
    

    Brgds,
    Mini

    --------------------
    Mark responds promptly

  • Bug in Apex 4.0.2 with APEX_MAIL file name parameter. ADD_ATTACHMENT

    When you call APEX_MAIL. ADD_ATTACHMENT where the filename parameter has value with more than a '. '. (punctuation), file name is not send correctly.

    Reproduction of the bug.
    p_filename=>'Report (2011.05.01).pdf'
    is received by post as
    Report (2011.).pdf
    Workaround solution:
    Change the value to have only 1 because punctuation in it.

    I think that this is not OK and that for a long time, the file is correct (that is, the number ': ' "------", "/" or special characters) it must be the same as it was.

    Hope this helps,
    Damir Vadas

    Published by: Damir Vadas may 18, 2011 18:56

    Damir,

    I tried to reproduce this on apex.oracle.com and could not. I sent a JPG file to my Yahoo account using the name "report (2011.05.01) .jpg ' and has no problems meeting." The name of the file received on Yahoo was still "report (2011.05.01) .jpg '.»

    I saw the code in APEX_MAIL. There is nothing that would change the file name as you suggest.

    Is there a chance it is changed in your SMTP server / relay?

    Joel

  • Integration of the APEX

    An APEX application easily integrable in an existing asp or html website?

    Hello Friend of Kathy,

    You could use a html framework to contain an apex application. That is my suggestion. If you are interested because I'm sure there are a lot of posts on this site on how to do it. When you have completed an application just apex renders as html, so anything that can show html can show an apex application. You may also link to the app and have a link to your site. Well how alike the two can be difficult, but with a magic of css, I'm sure you could do it. Hope that helps.
    -Marc

  • Download FF that Chrome has integrated bugs, then when I import bookmarks in FF do I also import cookies and browsing history, don't want to import bugs?

    Bugs in Chrome are in the form of extensions that will not remove or return when I remove them. General Council is to use firefox and Chrome which I am happy to provide. Don't want bugs coming from good chrome.

    Hello, Lugano, import your cookies or history of chrome Firefox won't these kinds of disorders. the symptoms as you described could also be a sign of adware/malware on your system assets - please run a full scan of your system with security tools like the free version of malwarebytes and adwcleaner.

    Fix Firefox problems caused by malicious software

  • HP preferred integration bug?

    Integration attempt in trying to get the volume of a torus of revoling circle around the axis y.

    Central circle of distance from the origin R and radius r using slices. Standard simple calc problem often given to students. Works well on HP50 and TI-89. Tried on first, last firmware using the template quite definite integral printing.

    Integrate r - r-R + r.

    Using equation 4 * pi * x * sqrt (r ^ 2-(x - R) ^ 2) dx

    You should get 2 * pi ^ 2 * r ^ 2 * R.

    First lets you: "impossible to verify if the antiderivative gibberish characters (rA ^ 2 x 3A gibberish talor has singular points for final integration in [-r, r]).

    Thanks for coming back.

    I just tested with several versions back, and each of them works fine. Make sure that R is not used (because it is an approximate numeric value).

    ∫ (4 * π * x * √ (R²-(x - R2) ²), x, R2 - r, R2 + r)-> 4 * π * r² * r2 * asin ((r/ABS (r)))

    assume(R2>0), assume(r>0)-> [r r2]

    ∫ (4 * π * x * √ (R²-(x - R2) ²), x, R2 - r, R2 + r)-> 2 * π2 * r² * r2

    I think the problem that I saw before was that I had swapped order of r2/r giving r - r2 and r2 + r instead. I think you've done the same too - take a look at your line of "4 * pi * x * sqrt (y ^ 2-(x - r) ^ 2), dx, r - y, r + y;   It works very well if you put r - y and y + r.

  • Report the operating system bugs and Gmail Plugin

    Quick question: Although there is a Jira for Java API questions etc, is there also a way where we can connect General bugs found in the BB OS and applications like GMail Plugin?

    RIM said to use the 'normal' ways, if I remember correctly to log non bugs. In other words; These forums, emailing RIM specifically, either by sending it to the company/person who wrote the program.

  • Possible bug in apex.server.process?

    I was testing the documented new AJAX function apex.server.process and I noticed that I seem to get an error.
    The documentation on the process can be found here:
    http://docs.Oracle.com/CD/E37097_01/doc/ doc.42 /e35127/javascript_api.htm#BGBJEFDJ

    I created an example where I have both called an Ajax function by using apex.server.process and another call button using pure jQuery. The use of jQuery works and returns "test", the apex.server.process gives an error.
    I just follow the syntax has been documented so I don't think I did a syntax error.

    I downloaded an example on apex.oracle.com
    Workspace: Ajax
    User: demo/demo

    If you make changes to the application, make a copy first please.

    Error returned with apex.server.process:

    Error: parsererror - SyntaxError: JSON.parse: unexpected keyword

    Documentation:

    See also: see the documentation for jQuery jQuery.ajax for all other available attributes. The dataType attribute is set by default in json.

    Solution when it returns plain text:

    apex.server.process( 'AJAX_TEST',null, {"dataType": "text"});
    
  • Integration of Oracle Apex 4.0.2 with EBS R12.1.1

    We could integrate Oracle Apex 4.0.2 with EBS R12.1.1 with the help of http://www.oracle.com/technetwork/developer-tools/apex/apex-ebs-wp-cabot-consulting-169064.pdf successfully.

    The document said to navigate from EBS to Oracle Apex without any second login screen (works very well!), but now how we sail to EBS to Oracle Apex (in the same session) without any screen connection again as below

    User login of EBS-->--> Oracle Apex-> EBS EBS

    Please help to achieve this goal.

    Hello

    In your application's authentication scheme in the sign-out URL Section, gives the following

    wwv_flow_custom_auth_std.logout_then_go_to_url?p_args=&APP_ID.:http://xyz.ck.com:8010/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE
    

    Provide your url on ebiz instead of http://xyz.ck.com:8010 in the link above.

    Thus, while pressing the logout link in your apex, you will not be redirected to login ebiz again page, it will be redirect you ebiz menu homepage back in the same session itself.

    This will work for sure.

    Good luck!!!

    Change your login username of "805196" in a meaningful Word.

    Brgds,
    Mini

    -------------------
    If this has answered your question, then awarded points and close the debate.

  • Less than operator compilation bugs?

    Hello

    I get a "bad character or markup in the script block. Compiler error try surrounding your code with a CDATA block. ».

    In the following code.  When I remove the operator less than "<" and use any other comparison operator, code

    does correctly no problem.

    I have not found a patch or service pack to fix the problem.

    Q: is there a work around?

    Example code:

    < mx:Script >
    private void traceDisplayList(container:DisplayObjectContainer,_indentString:String_=_""):void
    {
    var child: DisplayObject;
    for (var i: uint = 0; (I < container.numChildren); i ++)
    {
    child = container.getChildAt (i);
    trace (indentString, child, child.name);
    If (container.getChildAt (i) is DisplayObjectContainer)
    {
    traceDisplayList (DisplayObjectContainer (child), indentString + "" "")

    }

    }
    }
    < / mx:Script >

    Platform:

    Flex Builder 3
    Version: 3.0.214193

    Eclipse platform

    Version: 3.3.1.R33x_r20070911 - _19UEkpF-B7Uh2hKy75y
    Build id: M20070921-1145

    OS: Windows Vista

    There is indeed a solution. As the compiler tells you, try surrounding your code with a CDATA block:

    / * your code here * /.

    ]]>

  • PL/JSON utility integration into Oracle APEX 4.0 application problem

    I want to be able to use the PL/JSON utility in my application Oracle APEX (4.0) but get several errors when I try to run the Hello World example (replace GET_VARCHAR2 by GET_STRING) of http://embosa.wordpress.com/2010/02/26/oracle-and-json-using-pljson/ in the SQL command page. I can confirm that PL/JSON works if I run the example as his own script, PL/SQL, outside Oracle APEX.

    My database is Oracle 10 g XE. I get the following error messages when I run the Hello World example in the page of SQL command:
    ORA-06550: line 2, column 20:
    PLS-00905: object MY_SCHEMA.JSON is invalid
    ORA-06550: line 2, column 20:
    PL/SQL: Item ignored
    ORA-06550: line 5, column 5:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 5, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 7, column 26:
    PLS-00201: identifier 'JSON_EXT.GET_VARCHAR2' must be declared
    ORA-06550: line 7, column 5:
    PL/SQL: Statement ignored
    Maybe I'm too new/familiar with APEX Oracle PL/SQL, but I guess that APEX does not have the privileges to use PL/JSON. I already gave the public privileges execute on three packages (JSON_EXT, JSON_PARSER, JSON_PRINTER) and APEX_PUBLIC_USER but the error messages does not change. What Miss me?

    Published by: user1171263 on August 29, 2010 21:59 added blocks of code around the error messages.

    See if this post will help you: http://daust.blogspot.com/2006/04/xe-calling-stored-procedures.html

    In addition, you don't need a slash in the closing

     tag.
    
    Ta,
    Trent                                                                                                                                                                                                                                                                                                                                                        
    
  • Bug possible apEx 4.0 with minimum date

    Hello

    On apex.oracle.com, when I do a one element of type date and I fill the property 'minimum date' then I get an error when you run the page:

    Error ORA-20001: entered attribute value Minimum Date 01/01/2010 for P1_X item does not format of YYYYMMDDHH24MI.

    I put the right date format for my article and also at the level of the application.

    Kind regards
    Oli

    Hi Oli,

    Value of the "Minimum", "Maximum" and "Higlighted" Date must be in the format "YYYYMMDDHH24MI" what is mentioned in the field format of format mask. Help text for "Date of Minimum" clearly explains. Help text for Date 'Minimum' is as below:

    Enter a minimum selectable date. The value can be absolute in format YYYYMMDDHH24MI or relative value in regard to the current date for example + 7 d ('y' for years, am "for months, 'w' for weeks, 'd' days) or the name of the element, which contains the value for example & nom_element...

    Example of

    JUNE 11, 2009

    + 1 m + 1y + 1w

    -1 m - 1w

    + 1 m - 1 d

    & NOM_ELEMENT.

    I hope this helps.

  • Google Earth integrated with Oracle Apex UTL_HTTP must be declared.

    I use ORACLE XE and APEX 3.2 and I import
    http://www.Oracle.com/technology/products/database/application_express/packaged_apps/google_maps.zip
    at my request of manufacturer.

    The problem is that if I click on the geocode button 'Get '.
    and I get:

    ORA-06550: line 18, column 17: PLS-00201: identifier 'UTL_HTTP' must be declared ORA-06550: line 18, column 3: PL/SQL: statement ignored

    declare
    l_address varchar2 (4000);
    l_url varchar2 (32000);
    l_response varchar2 (3200);
    Start
    l_address: =: P1_STREET | «, » || : P1_CITY;
    If: P1_STATE is not null then
    l_address: = l_address | «, » || : P1_STATE;
    end if;
    If: P1_COUNTRY is not null then
    l_address: = l_address | «, » || : P1_COUNTRY;
    end if;

    l_address: = replace (l_address,' ', '+');

    l_url: = 'http://maps.google.com/maps/geo?q= ' | l_address | ' &' | 'exit is csv' |. '&' | 'key =' | : API_KEY.

    l_response: = utl_http.request (l_url, APEX_APPLICATION. G_PROXY_SERVER);

    : P1_RESPONSE: = l_response;
    : P1_LOCATION: = substr (l_response, instr(l_response,',',1,2) + 1);

    end;

    so I do:

    GRANT EXECUTE ON utl_http to THE system;

    and I still have the same problem...

    You must grant the privilege of utl_http package.

    Connect as sys and run this:

    Grant execute on utl_http to your_user;

  • Integration of EBS-Apex - not able to get cookies in the shape of apex

    Hello

    I'm trying to connect shapes apex with E-Business Suite.

    I wrote the following code in the PL/SQL called by the function of the form:

    -------------
    OWA_UTIL.mime_header (' text/html', false);
    OWA_COOKIE. Send
    (name = > 'APEX_APPS_': application,)
    value = > FND_GLOBAL.user_name |': ' | apex_generate_hash (FND_GLOBAL.user_name),
    path = > ' / '.
    );

    OWA_UTIL. REDIRECT_URL ("http://xxxxxxxx:xxxx / bus/apex/f?") p ='|| request: ': ' | page: ': ' | Re

    Quest: ': ' | item_names |': ' | item_values);

    ----------------

    Then I wrote this piece of code to read the cookie "before the process" section of the APEX

    page I called above:

    ---------------
    DECLARE
    c OWA_COOKIE.cookie;
    a wwv_flow_global.vc_arr2;
    BEGIN
    c: = OWA_COOKIE.get('APEX_APPS_'||:APP_ID);
    a: = htmldb_util.string_to_table (c.vals (1));
    .
    .

    -------------

    This results is NO_DATA_FOUND which means I'm not able to get the cookie.

    I've checked and matched cookie APEX_APPS_ < ID app > name in both places.

    Can someone help me please? Why I am not able to get the cookie in the form of the apex?

    Thank you.

    : FSP_AFTER_LOGIN_URL: = 'http://xxxxxx.xxxx.com:7779 / bus/apex/f? p = 103:21 :'||: APP_SESSION |': & ptrace = YES;

    There should be no previous colon & ptrace = YES.

    The first two of them:

    insert into temp12345 values (' session id ' | wwv_flow_custom_auth_std.get_session_id_from_cookie);
    insert into temp12345 values ('username' | wwv_flow_custom_auth_std.get_UserName);

    You have not authenticated, and yet, there is no cookie, where a session or a username can be obtained.

    P_FLOW_PAGE =>: APP_ID | ": 21' |': & ptrace = 'YES);

    You cannot use & ptrace here.

    The next two years:

    insert into temp12345 values (' session id ' | wwv_flow_custom_auth_std.get_session_id_from_cookie);
    insert into temp12345 values ('username' | wwv_flow_custom_auth_std.get_UserName);

    The cookie is sent to the browser to the login procedure. You can not access a cookie sent in an HTTP request in the same HTTP request. You will be able to access the next page, after the redirect to the login page after termination.

    Scott

  • BUG in APEX 5 new calendar

    Hello

    When you set more then 1 class in you query SQL, which is the source for a calendar (new style), and then to 'The agenda' the color forward out of the list items is missing due to the fact that the classes are separated by commas (",").


    Example of SQL query: statement to define the classes of cases (CSS_CLASS column contains classes to style events)

    Calendar issue source.PNG

    The page running: in month view / calendar, everything all right:

    Calendar view.PNG

    View by commas are added to the agenda and the color bar in front of the list item is missing:

    Agenda view.PNG

    I use "fa" classes in this example, but it does not matter what classes you put there.

    Is it possible to fix this?

    Jos

    Hi Jos,

    as a complement. For now you could try to avoid several class names by creating your own CSS class that contains the definition of all classes. For example:

    
    .my-blue-fa-male {
      background-color: #4183D7;
      border-color: #4183D7;
      color: #FFFFFF;
      display: inline-block;
      font: normal normal normal 14px/1 FontAwesome;
      font-size: inherit;
      text-rendering: auto;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    
    .fc-event.my-blue-fa-male:before {
      content: "\f183";
    }
    
    .my-blue-fa-male .fc-eventlist-title:before {
      content: "\f183";
    }
    

    Concerning

    Patrick

Maybe you are looking for