Possible bug - Apex 5 API

Hello

I create the schema and Apex workspace by line command/API. The Apex 4 everything was fine. The Apex-5 it throws ORA-20876: APEX motor Stop when I use wwv_flow_api.set_security_group_id for a new create workspace through the API. Creating with Apex Instance Admin interface is very well. Please see below for example:

--Create Schema

CREATE USER myuser  IDENTIFIED BY mypassword
DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
QUOTA 100m on users;

GRANT CREATE TRIGGER, CREATE SEQUENCE, CREATE SYNONYM, CREATE TABLE, CREATE VIEW,
CREATE TYPE, CREATE SESSION, CREATE MATERIALIZED VIEW , CREATE PROCEDURE  TO myuser;

ALTER USER myuser GRANT CONNECT THROUGH apex_rest_public_user;

--Create a new Workspace

DECLARE
  l_s  number;
BEGIN 

  apex_instance_admin.add_workspace (
        p_workspace          => 'myuser',
        p_primary_schema     => 'myuser',
        p_additional_schemas => '');


  l_s := apex_util.find_security_group_id ('myuser'); 
    
    --Setting the security group ID to create user etc in the new workspace.
    --However following throws the error

    wwv_flow_api.set_security_group_id (l_s);
    
END;    

After investigation, I found that if I revoke the CREATE PROCEDURE of the user privilege and re-create the workspace, everything is fine.

My environment: Oracle 11 g/Linux/Apex 5.0.1

All thoughts are welcome.

Habib

Hi Habib.

Thanks for finding this. It is indeed a bug, I filed #21530759. The reason for this problem is that add_workspace calls an API that load the info from the workspace in a global variable, at some stage, when the workspace is not yet in account_status = ASSIGNED but account_status = AVAILABLE. The subsequent call to set_security_group_id reuses data in the global variable instead of query information of (modified) workspace.

Kind regards

Christian

Tags: Database

Similar Questions

  • Possible bug APEX 4.0?

    As a result of this thread Howto disable a button in the APEX? I disabled a button in my apex 3.2 application and it worked.

    Basically, in the Post of a hidden element element text field, I entered Javascript to disable a button.


    But when I exported that app at apex4.0, I do not see where is the message element hidden item text field. But the button still works.

    Where is the javascript code that I added to the text of item Post of the hidden element field.


    Thank you

    Published by: user5406804 on April 15, 2011 18:44

    If you change (you don't have to save) the element (tell textfeild) type, you should see the indicated area of the element.

    Apex 4, features that are not relevant for each type of item is hidden in the page change using Javascript and appear when you change to something that uses these features.

  • Possible bug: Apex 3.2

    I work with Apex 3.2 and had repeatedly want to reorganize regions on a page by using the function "edit all regions" (apex/f? p = 4000:4650:2370996781112936:FB_FLOW_ID, FB_FLOW_PAGE_ID:972, 1). when I change the regions select list for each of my regions and click on the button apply changes, the regions to return to the original settings even if MRU says "Update page n."

    Someone could try this in your installation and check if this happens to you or not? Thank you.

    Earl

    Hello

    I think that it is fixed on 3.2.1
    http://www.Oracle.com/technology/products/database/application_express/HTML/3.2.1_patchnote.html#BABJCAFA
    >
    8320124 updates ignored when editing from all regions.
    >

    BR, Jari

  • APEX translated application 4.2 available possible bugs on theme 25

    Hello everyone,

    I try APEX 4.2 with reactive Blue theme (theme 25). So far so good. When I tried to do an application translated from my one shot (I don't translate any string, just de-seeded and released the app), I discovered some possible bugs on the page layout. For example, in areas of form, fields with the scope of auto column cannot be aligned in the same line. They are moved to a new line, although in the original application, it works. I know it's easy to fix by setting a specific value in the scope of column. But how can I fix the page layout in the pages who are magicians (with the standard model of region) and fields are placed in the table not div like in the initial application. Is there a difference between a translated application (which is actually not yet translated) and on the initial page rendering?

    Thanks in advance.

    Hi Grandmaster,

    I think that you are hit bug 15922307 - model of presentation of the grid of a translation application is not used
    who sets us 4.2.1.00.08. Can you check if you're on this version or if you are still on APEX 4.2.0

    Concerning
    Patrick
    -----------
    Member of the APEX development team

    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Possible bug in a Select NULL-option list

    Hi all
    I tried to use a list to select a tabular form and found a possible bug.
    I have reproduced the issue on apex.oracle.com.
    Please visit http://apex.oracle.com/pls/apex/f?p=38499:2.
    It seems that the fields for 'Display value Null' and 'return Null value are switched.
    Can someone try this and tell me if I'm doing something wrong or it's really a bug?

    Kind regards
    Moritz

    Hello

    what I saw bug # 10095760 has been filed for this issue.

    Concerning
    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

  • Are you aware of a possible bug in the version 3.6.23? In the browser, for example, "two /" appears with the slash through the 'o'. Is this a known bug? Thank you

    Are you aware of a possible bug in the version 3.6.23? In the browser, for example, "two /" appears with the slash through the 'o'. Is this a known bug?

    When the same text is seen in another browser, it is displayed correctly as "two."

    The same question is displayed on another computer.

    Thank you.

    Sounds that you use a font that supports ligatures (Palatino?).

  • possible bug in match pattern string of dot and a special character

    Hi friend recently and I find something in game chain model that it looks like bug, I want to know labveiw expert opinion on it
    the possible bug is
    have you ever tried to match (.) dot for use in regular expression? this icon could not find the point inside the string? 
    I also think what happens if we try to find a character within a string that is a piece of special character
    for example how you can use this icon to find \b inside the string as (hatef\blabview)?

    [.] to find the period

    \\B to find the backslash b

  • Possible bug: save the table with double and extended precision to the worksheet

    If one concatenates an array of double-precision and an array of precision extended with the 'build' vi table, then recorded using 'Write in a spreadsheet file' vi any digits to the right of the decimal are reset to zero in the saved file. Regardless of the entry of signifier of format (for example %.10f) to the vi 'Write in a spreadsheet file'.

    I'm on Vista Ultimate 32 bit and labview 9.0

    This is a possible bug that is easily circumvented by the conversion of a type before you incorporate arrar in a worksheet. Nevertheless, it's a bug and it cost me some time.

    Hi JL,.

    No, this is not a bug - it's a feature

    Well, if you'd look closer you would recognize the 'save to spreadsheet' as polymorphic VI. As this polymorphic VI does not support the EXTENSION numbers internally (it only supports DBL, I64, and String) LabVIEW selects the instance with more precision: I64 (I64 a 64 bits of precision, DBL that 53...). Your options are:

    -the value of the instance to use as the DBL (by right click and "Select type... »)

    -make a copy of this VI, save it under a different name and make support number of POST (not rework the polymorphic VI like you would break compatibility with other facilities of LV or future revisions)

  • Is it possible to call the api native playbook of QT creator?

    Hello

    I'm currently learning the playbook with Qt development.

    For this I use Qt creator to develop the specific application of the user interface.

    I want to know that is it possible to call the api natives of the application that is, I do in QT creator.

    As I want to include a video and audio player in my application.

    It is easier in the native api for use of this feature.

    In QT, I found it in the QT mobility and with phonon, but two of them are not supported on Playbook.

    So please guide me with my problem.

    Thanks in advance.

    bskania.

    Sorry, drop the. at the end: http://qt-project.org/wiki/QNX

    I never used the BB expected build but it's a bit old so it would be logical that you must use Q_OS_QNX vs Q_OS_BLACKBERRY. You can post the results of compilation using Q_OS_QNX?

  • Possible bug on role assignments

    I am using SOA/BPM 11.1.1.7.

    I found a possible bug when you deploy a BPM Application which mixed assignments (some directly to one user, others to a role of Application BPM (created in the workspace).

    I did two tests.

    Test 1.  Created a project/process of BPM with two lanes.  In organization, I assigned the roles of corridor users (to the embedded Weblogic LDAP).  On deployment, these roles were driven from the area space of work/Administration/roles (when logged in as a Weblogic).

    Test 2.

    In the workspace I created a few BPM roles (and put assignments users), then in a project of assigned BPM Application roles to my role of corridor.

    However, I created a corridor and made the assignment directly to the user.

    On deployment, the role which has been directly attributed to the user at the level of BPM projects has been eliminated NOT to the role area.

    A video of it is here: http://youtu.be/bWtEIRavlEY

    Stuart

    Hi Stuart,

    Could check you how your mapping roles work if you check "deployment of existing objects of update on ' option in organization.xml?

  • possible bug in class date

    I stumbled upon a possible bug in the class Date. When comparing two dates of November 20, 2007 and on November 22, 2007, I get false logic.

    public var expireDate: Date = new Date ("2007", "11", "20");
    public var todaysDate:Date = new Date();

    If (todaysDate.getTime () > = expireDate.getTime ())
    {
    this.currentState = "courseExpired";
    }
    on the other
    {
    this.currentState = 'loggedIn ';
    }

    todaysDate.getTime (returned): 1198126800000

    expireDate.getTime (returned): 1195742469234

    But whatever happens, todaysDate wins even if it shouldn't. Courses should have shown have expired.

    probably because the month is zero means the basis therefore 11 December November not :) (I know its not very obvious, but it's like that in flex and java as well).

  • possible bug? formatting number 0 is displayed as 4 294 967 295

    This is really two questions in one. First of all, I have a routine that sometimes gives a result of 0, which is * sometimes * displayed in an AdvancedDataGrid column in the form of 4 294 967 295, which I assume is somehow a significant number (more big int?). In any case, I have one ADG with a column defined as:

    < mx:AdvancedDataGridColumn headerText = "Remaining work" labelFunction = "rem_work_fmt" textAlign = "right" / >

    The called labelFunction is illustrated below:

    private void rem_work_fmt(item:Object,_column:AdvancedDataGridColumn):String
    {
    var num:String = numberFormatter.format (item.get_remaining_work ());
    trace ("result:" + num);
    return num;
    }
    Track of exit impressions: "result: 0" as expected, but the number displayed in the grid is sometimes 0 and 4294967295 sometimes.

    More strangeness, this only happens to the last column in the ADG. I call the same logic of format on another column and have never seen a wrong result. In addition, the same 'get_remaining_work()' function is called on the same data and the result is properly displayed in a field of text as 0.

    Second question, I met a few other possible bugs, I didn't report because I found a work around. How to do that in the beta program?

    LW1001,

    Bugs can be filed in the public bug at http://bugs.adobe.com/flex/
    You will need to register before you can submit bugs.
    Also, if you can attach files to bug to the bug report, it makes it much easier for Adobe to investigate.

    Let me know if you have any other questions/problems.

    Peter

  • Is it possible for Apex generate a file?

    Hi, I have build a calendar in the Apex, and I want to make it possible to generate a .ics file and then send it by e-mail. It is therefore possible for Apex to generate a file like that and how? Thanks in advance.

    The great thing about the ApEx is that get all the power of the database and, of course, PL/SQL.

    You can use the UTL_FILE package, see the link below.

    http://www.DevShed.com/c/a/Oracle/writing-to-text-files-in-Oracle-PLSQL/

  • Apex bug 4 JavaScript API documentation

    Hello

    The JavaScript API documentation have exactly same description of functions
    $f_Hide_On_Value_Item
    $f_Show_On_Value_Item
    >
    Verifies that the value of the item page (pThis) against a value (pValue). If it matches, a DOM (pThat) node is set to hidden. If it does not, then the DOM (pThat) node is visible.
    >

    And also the functions have same description
    $f_Hide_On_Value_Item_Row
    $f_Show_On_Value_Item_Row
    >
    Checks the value (pValue) of an element (pThis). If it matches, this function hides the table row that contains (pThat). If it does not, then the row in the table appears.
    >

    I think that is not correct
    http://download.Oracle.com/docs/CD/E17556_01/doc/apirefs.40/e15519/javascript_api.htm#CHDHIAJB


    Somehow, I remember he's has had to post about it, but I'm not.

    Kind regards
    Jari

    The description of these functions have been fixed. The most recent version of this document is now available on the technical network (OTN) Oracle.

    Please report the bug,
    Coarse Swaderner

    Senior technical editor

  • NSX API: 404 error - possible bug or documentation error?

    I get an error 404 for both the URL below... Can anyone else confirm this?

    I had other issues with the documentation in this area, and maybe it's just a documentation error.

    Apply the layout Configuration

    Sets the portal layout.

    Example 8-156. Apply the layout configuration

    Request:

    PUT https:// < vsm - ip > /api/4.0/edges/ < edgeId > / sslvpn/config/setting in page/images /

    Request portal layout

    Gets the configuration of the portal layout.

    vShield API Programming Guide

    222 of VMware, Inc.

    Example 8-157. The queries page setup

    Request:

    GET https:// < vsm - ip > /api/4.0/edges/ < edgeId > / sslvpn/config/layout /

    To do this:

    GET https:///api/4.0/edges//sslvpn/config/layout.

    PUT https:///api/4.0/edges//sslvpn/config/layout.

    Use this:

    GET https:///api/4.0/edges//sslvpn/config/layout page/portal /.

    PUT https:///api/4.0/edges//sslvpn/config/layout page/portal /.

    A documentation issue that needs to be filed.

Maybe you are looking for

  • 4MOT/4/40000003: drive HARD-1383 and 4MOT/4/40000003: drive HARD-1373

    Does anyone know the significance of the errors 4MOT/4/40000003: drive HARD-1383 and 4MOT/4/40000003: drive HARD-1373 that occur when you run Apple Hardware Test (AHT)? I guess it has to do with the hard drive by noticing the "HARD drive" code. IMac

  • How can I load profile TEMP user Mode?

    Yesterday my laptop charge mode Temp - I got distracted and never delivered on.  I was able to access all I need and proceeded to work on it all day.  Today, I am unable to access the project I was working on this that it is stored in C:/users/TEMP/t

  • ETHERNET controller LAN missing driver.

    Before a week ago, I bought a laptop (HP pavilion dv - 4 3006TX). I installed all the drivers from the HP website. When I go into the Device Manager, it shows two drivers (device ethernet controller and unknown) are not installed. But I tried all the

  • Cannot remove the flash drive in the list recently opened in the control panel

    I tried to erase all files recently opened in the control panel taskbar icon. But I'm unable to remove flash player from the list. Can someone help me how to remove it from the list. Screenshot attached

  • How can I reset my administrator password?

    Hello. So I have a big problem. I need to add a printer to my laptop to print important documents, but I can't connect to it without my administrator password. My father is the administrator of my computer and reset his password twice now to remember