Is this a bug? master rowid value lost when saving on a master/detail form

master/detail forms seem to lose the rowid after saving, if the unique identifier is set to ROWID
to reproduce the problem:
1) create a master detail form on DEPT/EMP
-- choose 'Managed by Database (ROWID)' on the 'Define Primary Key' page.
-- do not include master row navigation (but i don't think this matters)
-- choose 'Edit detail as tabular form on same page' on the 'Choose Layout' page
-- include the master report
2) on the master/detail page, change the conditional branch that returns to the master report page
-- the normal condition for this branch is request in SAVE,DELETE,CREATE
-- change it to request in DELETE,CREATE
3) run the form and save a change
-- saves fine, session shows the ROWID value is still set
4) save a second change
-- change does not save, form reverts to Create mode
this problem does not occur when using the primary key columns instead of rowid
see http://apex.oracle.com/pls/apex/f?p=60813:7 for the ROWID version
see http://apex.oracle.com/pls/apex/f?p=60813:11 for the PK column version

Hi Saverio,
Bug *13563808* has been logged to track the reported issue, and a fix will be made available in a future release. Just to clarify, this issue is only arising when the APEX-generated Master-Detail is modified post-generation, so for users who have not modified their Master-Details using ROWID to manage their DML processes, they should not experience this issue.
In relation to my workaround, my suggestion works in my test environment, which I verified before posting the initial suggestion. Please note that the 'Reset Page' process is, by default, conditional on the "Delete" button being pressed. If you have made further modifications to your Master-Detail page, then this might explain why you're seeing different behaviour to me. You might using the "Debug" option on the Developer Toolbar useful. Viewing the debug information should help you to decipher what's going on/wrong on your page. If you still can't resolve the issue, then the safest option might be to revert the page back to it's original state, meaning the user navigates back to the Report page upon submitting changes to the Master-Detail Form page.
Regards,
Hilary

Similar Messages

  • Field value disappeared when saved in Quick Sales Order form

    HI,
    We have developed a custom form which is similar to the Find Customer Search form in Quick Sales Order form (Navigate to Tools --> Find Customer).
    The custom form searches Customer and populates the selected customer details in Quick Sales Order form (populating the values in Quick Sales Order form is handled in Custom.pll).
    When we select Bill to or Ship to Contact in the Quick Sales Order form and save the Order, the Bill to and Ship to Contacts are disappeared (If the Bill to and Ship to Sites are not Primary).
    Can anyone please help me on this...
    Thanks.

    Check if 'Audit Trail' is setup in OM Parameters for the OU.
    Also check if "Processing Constraints" are setup correctly.
    For Qty reduction we need to add a new row called "delete".
    Thanks
    -Arif.

  • Is this a bug? create view lost a comma and succeeded

    Is this a bug? create view lost a comma and succeeded.
    oracle 10.2.0.1.0
    try the following sql.
    create table test
    id int,
    dataa varchar2(20),
    datab varchar2(20)
    insert into test values(1,'a1','a2');
    insert into test values(2,'b1','b2');
    insert into test values(3,'c1','c2');
    create view vtest
    as
    select id,dataa
    datab
    from test;
    --it should be error but successed
    select * from vtest;
    --and dataa gone!
    drop view vtest;
    drop table test purge;

    No it's not a bug, Oracle will treat "datab" as alias to "dataa" if comma left out.
    Doesn't your view has two columns id and datab, but datab column showing dataa data?

  • I am facing issue when opening flash files in Flash CC. (error:- This file was created with a later release of Flash Professional and might contain new features that would be lost when saved in the current format.)

    I am facing issue when opening flash files in Flash CC. (error:- This file was created with a later release of Flash Professional and might contain new features that would be lost when saved in the current format.)

    Wow. Okay...
    I'll let the real veterans in this forum tackle your issues one after the other. But, I can tell you, all will be well.
    My only comment would be re: your computer specs:
    BJReis wrote:
    .  This may be due to somewhat older equipment:
    GHz Intel Core Duo MacBook Pro with a 4GB memory computer with Ddr3 running OSX 10.8.4
    To be completely honest, FCPX is a RAM hog. It just is. But, RAM is relatively cheap, and the pay-off is good.
    4GB is right on the edge, IMHO. 16G is ideal.
    I wish you luck, hang in there, and standby for more help.

  • Page item values lost when moving application from 3.1.1 to 4.0.2

    I have an application that is working fine in version 3.1.1, but when I move it to 4.0.2, I'm having some issues with losing page item values. I have a page (6) with master key fields that are used to set page items on another page (7) when I branch to that page. In 3.1.1 the items in the page I'm going to are defined as 'Hidden and Protected' and in 4.0.2 they are defined as 'Hidden' (don't see a 'hidden and protected type'). When page 7 first displays, I see the values I passed in the session items. When I fill in the displayed items on the form and click to create a record, I get errors that the key values are null (these are the items I set when I branched to this page). When I look in the session items now, the values are missing. Why are the values lost and is there a work around?

    Hi there,
    In 4.0.2 there is no hidden & protected item but instead you have one select called "value protected" you can select yes or no there.
    Edit your item and See the "Source" region of your item, in the "Source used" it should be "current value in session state is null" and in "Source type" should be "static assignment..........".
    In the "Default" region the value type should be "static text ......."
    see if there is any changes in these properties.
    thanks
    Tauceef

  • How can I assgin a master feild value in combobox bind variable in the detail

    Hi All,
    I'm working on a MD-Form in portal.
    I want to pass a master block value in the dynamic combobox where clause.
    Combo box is in the detail Block. Can anyone please give a solution for this?
    This a very urgent Requirement for me. I really appreciate.
    Thanks
    Murali

    Does this help?
    Dreamweaver Dynamic Master List with link to Detail - YouTube

  • Cluster value lost when leaving case structure

    Hello all,
    I am having an issue with a particular VI I am working on. (FYI this is in Labview 8.0)
    The VI is set up to run a current source, voltmeter, and thermometer and then record and graph data in various ways that are selectable by the user.
    Everything seems to be working fine except one particular graphing method. When I try to graph Current vs. Voltage, the current value is gettiing lost. Within a case structure the current and voltage are combined into a cluster and then exit the case structre to be later appended to a cluster array.
    However, the value of the cluster is being lost when the graph is set for Current vs. Voltage. Any other method and it is working properly.
    I can't seem to figure out why this is happening as it does not make much sense that the other methods of graphing work but this one doesn't when it is coded the exact same other than having different variables.
    I have attached the VI with added indicators showing that the cluster value is being lost once it exits the case structure. Any help would be much appreciated.
    Thank you very much and I apologize for my extremely messy VI.
    - Nathan Cernetic
    Solved!
    Go to Solution.
    Attachments:
    IV-RT.vi ‏185 KB

    You really need to boil this down to something we can run and reproduce the issue.
    Have you tried to break a few relevant connections and rewire? Maybe something is corrupt.
    Beside being a mess, your VI has quite a few glaring mistakes.
    Let's have a look at the structures in the upper right:
    90% of the code is the same in all three case structures, so all that needs to be inside the case structure is the small part where you built the 2D array. Everything else belongs outside the case.
    The sequence structure has no useful function.
    Why do you need to reverse the array with each iteration of the small FOR loop? Once before the loop would be enough. Right?
    Why do you use built array inside the small FOR loop, but don't autoindex at the loop boundary? All you ever get is an array with exactly one element, no matter how much the loop runs. Seems useless! (see below image for an alternative).
    You would not even need to reverse if you would use "built array" instead of "insert into array at position 0" in the central part.
    Others: You constantly hammer all your property nodes. The only need to be called when things change. Again, you have way too many instances. For example in the case structure where you are having problems, the same property nodes exist in all cases. A single instance of the property node belong outside the case and only the string constants inside each case. Whenever code is the same in all cases of a case structure, that code belongs outside!
    Message Edited by altenbach on 06-19-2009 03:39 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    RubeLoopII.png ‏10 KB

  • Groupings are lost when saving between Illustrator CS5.1 and CS6

    A PDF that was created with Illustrator CS5.1 is opened in CS6 and then saved. When this said PDF is opened again in CS5.1 all groupings are lost. Any way of preserving this when saving?

    When you convert from .ai format to .pdf, that is where your groupings are changing. You could turn on preserve illustrator editing capability to preserve layers, but you want to look at your worklflow. You should be saving as .ai file whenever you can, and only to .pdf as a final copy for distribtuion to someone who does not illustrator.

  • Links being lost when saving as PDF

    I really enjoy using Pages (and I'm trying out '09 to see whether it would be helpful to upgrade), but there's one bug that I find really limits the way I create PDF newsletters:
    1. Create a text box (or other shape) and set it to float.
    2. Create a table inside that text box (leave it as inline).
    3. Create a hyperlink inside a cell of that table.
    4. Export/print the document as PDF.
    Invariably, the hyperlink is lost (though it still appears as underlined blue text). Hyperlinks embedded in floating text boxes, inline tables, or even floating tables seem to work.
    I had hoped this bug would be fixed in Pages '09, but it seems to have carried over all the way from '06 at least.
    Does anyone know of a workaround? I've googled this bug and come up dry.
    Thanks for your help!
    Dave
    Message was edited by: Dave N

    Dave,
    Sorry to come to this discussion a bit late. For me, a link in a Table Cell survives, a link in a Text Box survives, but a link in a Text Box that is in a Table doesn't survive an export to PDF. That's not surprising to me though since I can't even use the 'link in a table that's in a box' in Pages unless I first select the table within the text box. Just hovering over the link text will not cause it to be recognized until the table is drilled into, so I can understand how it wouldn't be accessible once flattened for export.
    As far as workarounds are concerned, just try not to have to put the table in a text box and you can avoid the issue.
    Jerry

  • EXIF lost when saving

    When I save a file to png or jpeg the exif is lost. Why is this? I want to save this information.

    Perhaps you are using:
    File >> Save for Web
    If so, try File >> Save As

  • "This file cannot be found" error message when saving document

    Hello,
    Strangely, every time I click "save" in CS6 it opens up a 'Save As' window, (which shouldn't happen), then I click save witht the existing file name (it then tells me the doc already exists), I click OK, (and then OK to the next popup window) then get the message that "This file cannot be found".  I'm forced to click "ok" and the doument isn't saved.  I've tried saving it differently in previous versions and it still doesn't work.  I recorded a video of this behavior. You can see it here - http://screencast.com/t/W1GYK0zsrk 
    Why would it be trying to find a file?  It seems like an error message when trying to Open a doc, not Save a doc.
    Please HELP!!  I can't shutdown my station until I get the document to save.

    Yes, Mohit1233 - it happened with every file yesterday. Finally, I closed the doc (forcing me to lose my work), then restarted my computer and today the problem is gone. I'm working on a PC (HP);
    Barblove - I tried doing that yesterday (copying and pasting into a new doc), and still nothing. I also tried copying the work into a CS3 doc (but got an error message).

  • Header lost when saving as pdf form

    I have created a form using formscentral, and added an image in the header.
    When I select File > Save as PDF form, the resulting file/form looks good EXCEPT my header doesn't appear.
    Any ideas what I'm doing wrong?
    Many Thanks
    Rachel

    Like you, I didn't see any logical reason why the box should have become unchecked.
    I certainly can't change that behavior - I'm just another user like you, but you could report it to Adobe directly:
    http://feedback.photoshop.com/photoshop_family
    -Noel

  • Master Detail Wizard: Cannot Redirect Detail Form to Detail Form 2

    Dear all,
    I created a Master Detail Report Forms using wizard where Master Report has a link to its Detail1 form, which has a link to its Detail2. However, the page redirection didn't work from Detail1 to Detail2 whereas Master to Detail1 worked.
    I checked the region button in Detail 1 that did the redirection, I didn't find anything wrong (I think).
    Suppose Detail1 is page 210 and Detail2 is page 220, The following is my configuration:
    - Under "Action When Button Clicked" tab:
    1. Action is set to "Redirect to Page in this Application"
    2. Page is set to 220
    3. Request is left blank
    4. Clear Cache is set to 220
    5. Set These Items is set to
    P220_TICKET_ID6. With These Values is set to
    &P210_TICKET_ID.7 Database action is set to
    - No Database Action -Is there any other place that I should check that might effect the redirection? Please advice.
    I'm using Apex 4.0.2
    Best regards,
    Val

    The answer to this problem appears to be that there is a bug in HTMLDB 2.0 (at least thats what I'm thinking) in that it is not handling dates correctly when passing them to the detail form. Once I modified the date column in the detail form, and formatted it with TO_DATE, it all worked fine. I would think the wizzard would do this. Oh well...
    Robert

  • Adobe upgrade - lost all saved data on pdf form. Help?

    I recently spent weeks completing and revising a very lengthy and important application form (pdf).  Upon submitting it I was told that the data could not be viewed and that I needed to update my Adobe to the latest version (11).  Upon doing this I lost all saved data on the pdf forms, I wasn't pre warned about this and am extremely dissapointed as it tooks me ages to find all the information and re-word it to a high standard.  Is there any way that it can be recovered? 
    I thought it would be in my sent emails but that is blank as well.  Help?

    If you used an earlier version of Reader before it would only have been possible to save the filled-in information in the file if a special right was applied to it by the authors, before you received it. If that right was not applied then you should have seen an error message saying that the file can't be saved with the data you entered.

  • Is this a bug? createdBy populated with value "1"

    I have a field in entity object mapped as historical column "createdBy". once I create a new record, this field populated as login user name. -- this works fine.
    However, after I specify this field "refresh after inserted/updated". this field populated with value "1" automatically once new record created. -- Is this a bug?
    BTW, the historical column "modifiedBy" does not have this problem.
    Thanks

    at javax.swing.JInternalFrame.setMaximum(JInternalFrame.java:890)
    at TestInterface.initComponents(TestInterface.java:48)What you posted there cannot be the entire contents of the method. According to the stack trace, your initComponents method, at line 48, calls the setMaximum method of some JInternalFrame object. However, the problem remains: Why a NullPointerException? It's possible there is a bug in the JVM, but that theory doesn't get your problem solved if it's true. And it's more likely (MUCH more likely for most of us) that it's a bug in your program. But what could that be? I looked at the API documentation for JInternalFrame.setMaximum and noticed this:
    "A maximized frame is resized to fully fit the JDesktopPane area associated with the JInternalFrame."
    I don't know how you would "associate" a JDesktopPane with a JInternalFrame, but possibly if you failed to do that, then references to the JDesktopPane would fail with a NullPointerException.

Maybe you are looking for

  • Proxy Generation Problem with Separate WSDL

    Hi, I'm trying to create Proxy with seperate WSDL, then i'm getting error. It is a simple Hello world BPEL and OSB. Here is my WSDL <?xml version="1.0" encoding="UTF-8" ?> <definitions targetNamespace="http://www.uk.gov.hmrc.chiefste.org/hello" xmlns

  • Targeting Multiple Movie Clips

    Hi everyone, I'm fairly new to ActionScript so I would really appreciate any help I can receive. Right, I have a Flash file which contains a movie clip with an instance called, 'contentHold_mc'. Inside this movie clip are 4 individual movie clips wit

  • Im trying to connect my iPod to my computer.

    I already tried the support page. I uninstalled fully iTunes which resolved the issue but it came back and I dont want to re-uninstall everything. What can I do? +it is detected by my computer

  • Is there a protective travel case for the iPad2 that will cover the smart cover as well?

    Is there a protective travel case for the iPad2 that will cover the smart cover as well?

  • Rub time error  7 in business explorer

    Hi, I am trying to create or change the query in BEX Analyzer poppin up with the error Rub time error  7 Out of memory An unexpected 'out of memory' error occured in wdbrlog. 1 error(s) are logged. What could be the problem Thanks Priya