JBO-35007 - Where is it when you need one?

Project details: Jdev 10.1.3.3, ADF BC, ADF Faces
Please help me to understand when I can rely on JBO-35007.
I have a pretty simple use case:
1. List employees in a table with selection
2. Select an employee and navigate to the edit page. Edit page has 2 buttons - "Commit" and "Back To List". "Back To List" button executes global navigation action
Now where the fun part starts.
1. User goes to the 'listEmployees' page, selects a row in a table, then presses "Edit" button - he is taken to the 'editEmployee' page.
2. User presses CTRL+N to create a new window (I know they are not supposed to do that, but they do!).
3. While being in the new window user presses "Back To List" button and as expected is taken to the 'listEmployees' page.
4. Here user navigates to a different row, then selects 'editEmployee' button.
Right after this user switches back to the previous window (Remember that the previous window is still showing the old record from the step 1 above)
5. User modifies one or more fields and presses "Commit"
At this moment the famous JBO-35007 is displayed as expected, and this is a good thing. I expect the same error to be displayed the next time user presses the "Commit" button, but it does not!
Instead the record from the step 4 above is being updated.
Now my question is - Is this an expected behavior? If yes, how do I prevent user from executing "Commit" second time?
Thank you,
Vitaliy

I'll do my best. Please note that this is code I'm writing off the cuff; it's intended as an outline, not necessarily as something that will work in a cut-and-paste.
public void reportErrors(PageLifecycleContext context)  {
    super.reportErrors(context);
    RegionBinding bindings = context.getBindingContainer();
    List runtimeErrors = ((DCBindingContainer) bindings).getExceptionsList();
    for (Object e : runtimeErrors) {
        if (e instanceof InvalidOperException) {
            InvalidOperException invOper = (InvalidOperException) e;
            if (invOper.getErrorCode()="JBO-35007") {
                Key expectedKey = (Key) invOper.getDetails()[0];
                RowSetIterator it = (RowSetIterator) invOper.getSource();
                Row[] matchingRows = it.findByKey(expectedKey, 1);
                if (matchingRows.length > 0) {
                    it.setCurrentRow(matchingRows[0]);
}

Similar Messages

  • Where's a smart person when you need one? My iphoto just will not open for no reason at all(I REALLY NEED HELP)

    I have not done anything strange like changing something in my computer or IPhoto. One day it just decided not to open. I dont have my photos backed up from IPhoto and I really need the photos on there and Iphoto itself to graduate in two weeks.
    I will click on Iphoto and it'll jump twice, open but it will be totally blank white and immediately have the spinning rainbow wheel and it never loads. I'll then put my mouse over the icona nd it'll say "IPhoto not responding" and everytime I have to force quit. I really dont understand what happened.
    I have googled for days variations of "My Iphoto will not open" and none of what people are saying helps at all because all of them have done something to mess up their apps. I really really need help, please, its got to be something so simple because I didnt change anything on my computer.

    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • FaceTime is down, where is Apple when you need them?

    Just wanted to say that Facetime isn't working for me on my iOS devices and my Macbook Air.  This problem is not limited to IOS.  Where is Apple, and why aren't they letting us know what is going on?  It would save everyone a lot of time if they gave us some sort of update, but that is probably too much to ask right?

    After April 16, 2014
    http://support.apple.com/kb/TS5419
    Troubleshooting FaceTime
    http://support.apple.com/kb/ts3367

  • Where is   sign when you call international number, but first you call local number and after connect open keyboard and see that sign   doesn't exist only 0

    Where is   sign when you call international number, but first you call local number and after connect open keyboard and see that sign   doesn't exist only 0

    No that is not work. Try to call some number and when is connect click on keyboard and you can see that sign "+" doesn't exist.
    So I use local number, when I'm connect I have option to call international number but like "+3193675xxxx" how I can put?
    Before on iOS 6 I do it.

  • Hey I have a problem. I want to change my rescue email address as somehow apple has the wrong one but I don't know my security questions - but you need one to change the other. Any help?

    hey I have a problem. I want to change my rescue email address as somehow apple has the wrong one but I don't know my security questions - but you need one to change the other. Any help?

    You can get your Security Questions reset by contacting iTunes Support at either of the two links below. Select the best options for your issue, or provide specific information. Let them know you are contacting them concerning Forgotten Security Questions. They will get back to you via your primary email address, usually within 24 hours. Once your Security Questions have been reset, you will be able to go in and reset your Rescue email address on your account:
    http://www.apple.com/support/itunes/ww/
    or by email:
    http://www.apple.com/emea/support/itunes/contact.html
    Cheers,
    GB

  • HT1391 where is help when u need it

    I need help organizing and dowlowdinding files.

    If you're having difficulties with the Community Help Client application, then consider that you have two other means for getting Help content:
    - HTML version on the Web
    - PDF version
    You can get to the HTML version on the Web through any of several portals, such as this one. You can also set a preference such that this is the version that is always used when you open Help from with the application; this blog post from Preran Kurnool shows where this Accessibility > Open Help In Browser preference is located.
    You can download the PDF version using the link at the top of any of the pages of the Help document on the Web.

  • HT201178 how do you pair a keyboard when you need to enter your password first

    how do you pair a keyboard when you are being asked to enter your password first

    It is ALWAYS a good idea to have a USB keyboard available, it doesn't have to be an Apple keyboard any old USB keyboard will work in a pinch.

  • HT5361 I am about to slit my wrists trying to disable what seems to be widgets. Every time the mouse goes to the edge of the screen it fades and "provides" access to completely unwanted - even hated - widgets. Where is Steve Jobs when you need him?

    I offiially hate our mac. Would work with a PC in a heartbeat.

    Are you referring to the Dock?
    If it is the Dock that is bothering you, type: command, option, D (all three keys together). That will bring the Dock on the screen permanently.
    I do not know how to remove it permanently.

  • Shame on such a big company with no live help when you need it!!!

    had to delete firefox and reinstall it. in doing so, i lost all of my bookmarks. when i follow the instructions on how to restore it, and the dates drop down, it is only giving me the last couple of days. it is not giving me an earlier date. and after reading the help answers, i have come to the conclusion that all my bookmarks which i use about 85% of them on a daily basis are GONE !!! FOREVER !!! shame on such a big company with NO live help !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SHAME SHAME SHAME

    Hi,
    The people who answer questions here, for the most part, are other Firefox users volunteering their time (like me), not Mozilla employees or Firefox developers.
    If you want to leave feedback for Firefox developers, you can go to the Firefox ''Help'' menu and select ''Submit Feedback...'' or use [https://input.mozilla.org/feedback this link]. (You'll need to be on the latest version of Firefox to submit feedback). Your feedback gets collected at http://input.mozilla.org/, where a team of people read it and gather data about the most common issues.

  • With the Ipad 3G do you have a monthly fee all the time or can you just buy the internet by the mopnth when you need it because I don't need 3g at home since I have WIFI but when I go camping is when I would need to purchase wifi.

    With the Ipad wifi 3g can you just purchase internet time as need by the month because I'm trying to avoid having another monthly fee, I only need 3g when we go camping which is like two weeks out of the year.

    With ATT, you can pay month by month.  They have a $15 (256 mb) and a $25 (2gb) per month fee.  You can activate and deactivate this service directly from you iPad.  Have fun!

  • WHAT is the use of a retina display when you can't watch DVD movies? what's the purpose of a super thin retina macbook pro when you need to buy an external optical drive? doesn't it defeat the purpose already?

    i don't care if my macbook is a little thicker as long as i don't need to burden myself of an external optical drive just for a simple  and common task of watching/listening to discs.

    the hippie wrote:
    i don't care if my macbook is a little thicker as long as i don't need to burden myself of an external optical drive just for a simple  and common task of watching/listening to discs.
    I'm confused, why did you choose to buy the retina model if you don't like it? This is exactly why Apple still manufacture/sell the 'old' style MBP which is thicker and has an optical drive built-in!

  • Login failed for user 'xyz'. This session has been assigned a tracing ID of 'c2d....'. Provide this tracing ID to customer support when you need assistance.

    Hello,
    This error show up only when my application is running under Windows Azure. Everything work perfect on Windows Server 2008/IIS 7.5 with MS SQL server 2012.
    What i try to do, is to change the database of the connection string at run-time.
    My code use System.Data.Entity/ Entity Framework and the line of code i use is something like this using DbContext, IDbContext: this.Database.Connection.ChangeDatabase("dev_DB");
    the error also say something like this:
    [InvalidOperationException: This operation requires a connection to the 'master' database. Unable to create a connection to the 'master' database because the original database connection has been opened and credentials have been removed from the connection
    string. Supply an unopened connection.]
    I posted a ticket also to MS Azure support maybe they can do any settings to my Azure SQL version
    Thank you.

    When using SQLDatabase you cannot change an open connection string, you have to open a new one to the other database. Imagine that each database has it's own independent server. SQLDatabase is database has a service, not database server has a service.
    If you found this post useful, Please "Mark as Answer" or "Vote as Helpful", this will keep us motivated to help in the forums, best regards.

  • What happens when you need More than 1 indexed Date??

    I need multiple date fields on my opportunity record for reporting purposes.
    Unfortunately there is 1 indexed date field...
    How am I able to create indexed data that I can run reports on???? OR am I limited to just 1 indexed date field and the others are going to be non-indexed with all the associated performance issues of a non-indexed field?
    Thanks for your insight,

    Hi,
    I am not very sure about a concern.
    FYI if you are not aware that there is no need for all fields in reports to be indexed.
    It makes a difference only if you have some filters, conditions etc on that field otherwise if it is a simple field that is there are part of the report to present data without any filters, conditions etc, it doesnt make any difference
    Hope it helps
    -- Venky CRMIT

  • Photo reduction of mb when you need to email them

    guys,i cant figure out how to send an image i have taken with my Q10. I had hoped with this weeks operating system upgrade there would be an obvious solution. On my old phone when i would send an image it used to prompt me at that time whether i would like to reduce the image size.

    Unfortunately - with the built in mail app on the iPad - it is a "one at a time" process. There are other email apps - Group Email with Attachment, Group Mail are two such apps - that let you send to groups of contacts.

  • What is Apple's email when you need to reset your security questions?

    I forgot my security questions and don't have a rescue email. It is kind of late to call right now so is there a email?

    1)  Apple ID: All about Apple ID security questions
    2)  See Here... ask to speak with the Account Security Team...
    Apple ID: Contacting Apple for help with Apple ID account security
    3)  Or Email Here  >  Apple  Support  iTunes Store  Contact

Maybe you are looking for

  • Final Cut Pro X Export Speed Problems

    I'm having problems getting any real processor speed out of my Final Cut Pro X exports. Whether I do a direct native Pro Res export straight from FCPX or send to compressor with the same settings, or even change them to H.264 or something else, i mor

  • Open item management tick status for all gl

    is thr any  t.code by which we can check on which gl the open item management tick available on our chart of account in fs00...?

  • Creative Cloud Business Catalyst

    On my cloud account side panel Creative Cloud Business Catalyst is asking me to upgrade a plan. I am supposed to have up to 5 sites! Please help.

  • Bypassing Logon screen

    Hi all, I have created a remote enabled function module in BW and i am trying to execute the same from R/3 using "call function f1 dest 'BWCLNT100' exporting On executing, it is asking me to enter the BW logon credentials...and the data is loaded suc

  • Did not sync contacts, but are the data being backup?

    Lets say I did not sync contacts from my iPhone to Address Book or Outlook or anything. But I always do backup through iTunes. Then, lets say something gone wrong with my iPhone and I need to Restore all data from my backup. Will I get all my contact