New detail rows not showing

Hi,
Here's a little background on my problem. We have a simple master-detail hierarchy. Both have a ViewObject. The problem lies in the fact that our detail VO has a filter using a bind variable. The bind variable value is determined (most of the time) at the VO execution time: bindParametersForCollection is overriden and passes a value for the bind variable if it is null. In our specific case the variable represents the username of the authenticated user.
The main complexity lies in the UI. We present all the masters and their children in a single table in edit mode. We are using a tree binding with an accessor from the master node to the child node.
Example
Row 1: Master 1 Column 1 | Master 1 Column 2 | Master 1 Detail 1 Column 1 | Master 1 Detail 1 Column 2
                                             | Master 1 Detail 2 Column 1 | Master 1 Detail 2 Column 2
                                             | Master 1 Detail 3 Column 1 | Master 1 Detail 3 Column 2
Row 2: Master 2 Column 1 | Master 2 Column 2 | Master 2 Detail 1 Column 1 | Master 2 Detail 1 Column 2
                                             | Master 2 Detail 2 Column 1 | Master 2 Detail 2 Column 2
                                             | Master 2 Detail 3 Column 1 | Master 2 Detail 3 Column 2
Row 3: Master 3 Column 1 | Master 3 Column 2 | Master 3 Detail 1 Column 1 | Master 3 Detail 1 Column 2
                                             | Master 3 Detail 2 Column 1 | Master 3 Detail 2 Column 2
                                             | Master 3 Detail 3 Column 1 | Master 3 Detail 3 Column 2Everything works until we try to create new rows. In our use case, whenever we create a new master row, we also create a fixed number of detail rows. The number of detail rows depends on the context. Whenever we do this, the details rows do not show up in the UI.
In my experimentations, I found that the problem was caused by the bind variable on the detail VO. Tracing the detail VO query execution I came to the conclusion that unposted rows where rejected from the QueryCollection when there’s a bind variable. The debugger shows that in VO#executeQueryForCollection the QueryCollection#mUnpostedRows list is empty when there’s a bind variable while it is not when there’re no bind variable.
This is a major issue in our case, so I would like to know if you consider this as a bug (in my opinion it is). If yes, when can we expect a fix or workaround? Otherwise we’ll have to get around this problem by either finding a way to remove the bind variable OR do everything manually in a managed bean (which I would prefer not to have to do).
I have reproduced the problem in a SRDemo test case. Test case has been sent to Steve Muench.
Thanx!
Olivier

This looks very similar to Bug# 6412612 "New Row Lost After Executequery In Vo W/ Bind Variable In Where Clause", reported in the Tech Preview #2 release, and fixed in Tech Preview #3 (due out before the end of December 2007). Will try confirming with an in-house TP3 build that this fix fixes your testcase, too.

Similar Messages

  • Create New Detail Rows

    I have a jsp page with Master-detail tables. My current create new row button has to set current on one detail row to be able to create a new row. I have some master rows have no detail items. So my create new row button won't show up.How can I create a new detail row without setting a current. Thanks!

    I current have a create button goes with each detail row as href="browseMD.do?event=setCurrentRowWithKey&Arg0=<c:out value='${Row.rowKeyStr}' />&event=Create"
    I tried to drag 'Create' from the datail table DataControl->Operation->Create, but it won't work if I don't setCurrentRowWithKey.
    When I have only one table, I can 'Create' without setting current row on a view object. But the master and details seems to act differently, I couldn't make it work. Have you done any create new row with a master-datail view object?
    I'll try to work around with your 'dummy' row suggestion. Thanks!

  • I've just enabled match and now my new purchases do not show up on my i tunes account. i can only play them buy going in to purchased playlist.

    I've just enabled match and now my new purchases do not show up on my account. I can only access them buy going into purchase playlist?

    SADLY  not as i downloaded an upgrad to my original PAGES/
    i have in the meantim had to open www.icloud. then from there import the file that i am working on and then check on ipad if it uploaded/ yes it did.
    but what a waste of time as it doesn not save any changes done automatically back in the cloud....
    i am now downloading the new LION and hope that it will fix the problem
    i cant find any other way. I was lead to believe that you wrote, it saved automatically, on to the cloud, you then opened anohter device in anotother country even, and the new file was there, waiting, in its latest version.......
    and the same magic was supposed to happen in reverse.
    It doesn't/
    if i have to open a browser, go to www.icloud....why on earth did they not just leave us an icon to drop it in in that case?
    I hope the new lion will help resolve the isssue/
    any other ideas> keep em coming...thank you so much.

  • I have a Ipod touch and recently added new music to my itunes library on my laptop. When I sync with my ipod, the new music does not show up on my ipod even though the sync process seems to be working.

    I have an Ipod touch and recently added new music to my Itunes library. When I sync with the library, the new music does not show up on my ipod. The sync process seems to be working and there is still plenty of space on the Ipod for new music so I'm not sure what the problem is!

    What happens when you try to sync?
    Was the iPod previous synced to another iTunes library/computer?
    Have you successfully synced from this iTunes library/computer before?
    Do the songs play in iTunes?
    Do you have the right boxes checked to sync?
    iTunes: Syncing media content to iOS devices and iPod        
    Do you have any Restrictions (Settings>General>Restrictions) set that would prevent syncing those songs?

  • In IPhoto I changed movie dates after thumb nails were created in IMovie but the new dates are not showing up in IMovie.  Is there someway to refresh the IPhoto event in IMovie?

    Background:  I'm transferring file folders from a Visa laptop via an external hard drive to my IMac.  In the folders are photos and videos from different cameras.  SO I first tried to import to IMovie but it would not recognize any of the files.  So then I imported into IPhoto and both photos and videos were imported and I created events for each folder.  When I first opened IMovie I had to wait for it to create "thumb nails".  Then I could view the events in IMovie BUT the video clips are not together because they have vastly different dates and are mixed with videos from other events.  I looked at the dates and said I can fix that in IPhoto which i did but those new dates are not showing up in IMovie.    I think I need to somehow refresh the event data that Imovie is using but have not found how to do that in either IPhoto or IMovie. 
    I'm doing this on three events with about 100 photos and videos.  But I have many 1000s more to do so need to know how to either fix this or delete these events, reimport, change the dates, then open again in IMovie.   I'm sure that would work but I can't understand why changing the dates in IPhoto is not being reflected in IMovie.  
    Appreciate any tips or pointers.
    OBTW this is my first question as a first time Apple owner. 

    It was suggested I move this question to IPhoto or IMovie which I did. 
    Well moving to a different discussion group did not provide an answer to this question either. But what I finally did was import one batch of photos and videos into IPhoto for a given day at a time. Working with these I could change the date and times in order to get them in the original sequench taken. Then I would create an album with that batch. These would all be on the same day (IMove was closed for this phase). Then I would open IMovie, generate the thumbnails for that album, and select the album I had created. This was necessary because the importing process in IPhoto was using incorrect dates for my video so it was a real struggle finding them in IMove until I developed this approach.
    I believe that this whole process was so screwy because I was importing from an external hard drive not a camera. I had these photos on a PC and did not have the original cameras to use to import directly which I am fairly sure would have made this easier!

  • New Saved files not Showing up in finder

    When I save a new file, since updating to 10.5.4; new files will not show up in the folder it was saved in, until I close it and then reopen it. I have already performed a fix disk permissions with idisk and ran MacJanitor
    Is this a known problem with leopard 10.5.4 I could not find it discussed in the forum.

    I Ran Macjanitor - all tasks, I ran the disk utility on my boot disk. Nothing I did fixed the problem. But for some reason - when I booted up today the problem is gone. I thought I had rebooted yesterday as well - but I am unsure about that. So right now the problem is not showing up. I hope it does not come back. How do you mark this when it just went away and you are not sure it will come back or not.

  • New photos are not showing up in my Photo Stream Folder on my PC. Why?

    New photos are not showing up in my Photo Stream Folder on my PC. Why?

    Everythig is turned on as well.

  • New purchases are not showing up in smart playlists

    New purchases are not showing up in smart playlists. About a week ago the smart playlists stop add newly purchase music.The smart playlists  will add items that are added the the library. Any ideas?

    Everythig is turned on as well.

  • Employee tax details are not showing up in Payslip...

    Hi Experts,
    in my project when we are  generating payslip Tax details are not showing up in that.I have checked with RT , the amount is correctly showing in RT.How can i resolve the problem.Please advice me.
    Regards,
    Sai.

    Hi Manoj,
    Thanks for the reply.How can check weather the wagetypes are added or not addeded in PE51.If not added what should i do?
    Thanks in advance.
    SAI

  • HT1386 new iPhone 5C not showing up in iTunes when connected by USB

    new iPhone 5C not showing up in iTunes when connected by USB

    Hey there krpeterson93,
    It sounds like your new phone is not appearing in iTunes on your computer. Depending on the version of your OS, the instructions are a different.
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    or
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/ts1591
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • New 4S does not show waiting voice mails? How do I fix?

    New 4S does not show waiting voice mails? How do I fix?

    What do you mean by waiting voicemails? It tells you a number that includes missing calls new calls voicemail too. If its red circle under messages or the phone it means something is new.

  • New iphone5 does not show personal hotspot, how do I set it up?

    New iphone5 does not show personal hotspot, how do I set it up?

    First, your carrier must support Personal Hotspot, and second, your account must be provisioned for such. Otherwise, that setting will not appear. So, contact your carrier.

  • I bought the season 7 pass for Doctor Who, but the new episodes are not showing up for download.  Who can I contact to find out why?

    I bought the season 7 pass for Doctore Who, but the new episodes are not showing up for download.  I've been all over the support page, I even looked up my purchase history and there is are none showing and I even bought last weeks episode, The Bell's of St. John.   Who can I contact to find out why I'm not getting the rest of season 7 for download?
    Thanks,
    ChristyQ

    Garmin is sending you to Apple because it is Apple that would have to give you a refund as the actual point of sale.  However, Apple states all sales are final.
    Apple is sending you to Garmin because it is Garmin's fault their maps are out of date and Apple doesn't write the software.  They may not even be looking that deeply and simply perceiving it as a programming "bug" it is up to Garmin to solve.
    Who know whose fault it is that Garmin isn't getting up to date data to put in their maps.
    Ultimately I think you stand the best chance in getting a refund from Apple though it isn't guaranteed.  Apple is the cashier.  You just have to convince them this isn't just a line of code omitted from an application and isn't something that will be soon corrected by Garmin.  Make it clear it isn't a problem with the application running on your device, it is a problem with the data it contains.  Either that or you have to hope Garmin will feel so bad about it they will delve down into their slush fund and send you a refund.

  • TS2972 my new computer does not show shared from my old computer. how long does this take??

    My new computer does not show share from my old computer how long does this take?

    I'm having the same problem. I have my main Library on a WXP machine and a new W7 laptop. My iphone 4 sees the library from the W7 machine, but neither the laptop nor the iphone see the big library on the WXP machine. I have configured firewall settings, tried the network wired and wireless, using same apple id on all devices, restarted itunes on all computers, turned sharing off and on on all computers. Nothing works.

  • New page does not show up

    Hello: I have a web site hosted on Mobile Me. Tonight I added a new page to it. I placed the new page as the first page. I saved the site and published it, but the new page does not show up on the internet. Using the Inspector, i "included the page in the navigation menu," although i do not have the navigation menu displayed.  Even with this step, the new page is not visible on the website on the internet. I cannot figure out what else to try.  I have hit "publish entire site" and that did not make any difference.
    any advice would be much appreciated
    Thank you.

    Some hosting services are more problematic than others and it's difficult to choose.
    I use Host Excellence because they have all the features you need and really good 24/7 tech support - better than GoDaddy.
    The ultimate business account gives you way more than MobileMe for about the same price....
    http://www.iwebforbusiness.com/Tools-Resources/Website-Hosting.html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

Maybe you are looking for

  • Check boxes in ALV Report how to do ?

    ALV report how to keep check box  in the first field? thanks in advance.. chalapathi

  • E61 - multiple browser windows possible?

    I haven't found a way to open a 2nd browser window using the built-in web browser on the E61. Is anyone aware of a way to open a link in a new window, such that you can have 2 or more windows open simultaneously? The obvious technique of holding down

  • Time Machine won't start after migration to new MacBook Pro.

    I upgraded to a new MacBook Pro.  Both machines are running OS X 10 (10.7.5 on old, 10.8.2 on new).  I used an ethernet cable for the data migration. I'm trying to use the Time Capsule we've been using all along for Time Machine, but Time Machine won

  • ITunes auto changed a bunch of albums to have the same name and art. Any easy fix?

    So iTunes randomly changed a bunch of albums to be The Frozen Borderline by Nico with the album art (the artist names and song names are still the same though). I was just curious is there an easy fix, or do I have to go through and fix it one-by-one

  • CS2 error

    Help! We've installed the CS2 on a newer computer and have all the website files loaded. When it comes time to link to the remote server, it says the website folder can't be found or there's a problem with permission. The folder is there and I don't