[Struts]File upload doesnt work with "Create" but works with "CreateInsert"

Hello,
thank you for reading this!
Im facing serious issue with web application built with JSP, Struts & ADF BC in jdeveloper 10.1.3.1 and jdeveloper 10.1.3.2 (same code works perfectly in older jdev versions)
File upload to DB only works if CreateInsert is selected in PageDefinition. (Have to change from default "Create" to "CreateInsert")
If I set "Create" i get this problems:
- if VO is empty the row cannot be created (no error is returned, i click ОК and row is not commited, its just discarded)
- if VO is not empty instead to create new row current row is updated.
This only happens with "multipart/form-data" forms. With plain form row is created without the problem.
If I change to "CreateInsert" then I can add new rows with "multipart/form-data" but i would prefer "Create" because it avoid the blank row issue...
Old 10.1.3 works with "Create" and "multipart/form-data".
Im aware of this problem since the 10.1.3.1 release but I havent posted on the forum because I hoped Oracle is aware of this problem but since the problem remains I decided to react. I do not have the metalink account so only way to address the issue is in this forum.
Please Help.
Sanja

I had some problem with 'Create' earlier with 10.1.2. Then I kept recreateing the pages and then it worked finally. How are you creating the page for 'create' event. Is it like, first displaying the rows from the table with create button, or are you right away creating the page from menu option.

Similar Messages

  • Can't Upload Large Files (Upload Fails using Internet Explorer but works with Google Chrome)

    I've been experience an issue uploading large (75MB & greater) PDF files to a SharePoint 2010 document library. Using normal upload procedures using Internet Explorer 7 (our company standard for the time being) the upload fails. No error message is thrown,
    the upload screen goes away and the page refreshes and the document isn't there. I tried upload multiple and it says throws a failed error after a while.
    Using google chrome I made an attempt just to see what it did and the file using the "Add a document" uploaded in seconds. Can't figure out why one browser worked and the other doesn't. We are getting sporadic inquiries with the same issue.
    We have previously setup large file support in the appropriate areas and large files are uploaded to the sites successfully. Any thoughts?

    File size upload has to be configured on the server farm level. Your administrator most likely set
    up the limit to size of files that can be uploaded. This size can be increased and you would then be able to upload your documents.

  • Struts file upload without interMedia under ADF

    Can this be done ?
    I have an existing table with the following columns:
    Content BLOB
    MimeType VARCHAR2
    FileName VARCHAR2
    and more

    Very frustrated :(
    Trying to find an answer to my question above.
    If I Add a transient OrdDocDomain to the Entity/View Layer.
    Map this into the UIModel (drag-drop onto JSP as struts file upload) so a FormFile object is available in the struts Action layer.
    Override 'processUpdateModel' so I can obtain a reference to the FormFile object.
    In the commit event of the Action class, take the referenced FormFile and set the BLOB like follows;
    newRow.setAttribute("FileData",
    new BlobDomain(uploadFile.getFileData())
    Then call into the internal commit operation.
    The following exception is raised;
    04/11/19 07:32:18 java.lang.ArrayIndexOutOfBoundsException: 0
    04/11/19 07:32:18      at oracle.jbo.client.remote.OrdClientPostListener.notifyClientPostAfter(OrdClientUtil.java:135)
    04/11/19 07:32:18      at oracle.jbo.client.remote.ApplicationModuleImpl.postChanges(ApplicationModuleImpl.java:796)
    The transient OrdDocDomain has registered a listener.
    How can I remove this listener. The transient has a method 'removeListenerFromTransaction()' with the comment 'Internal: Applications should not use this method.' and no other references ?
    Does anyone know how the listener can be removed or better still, not be registered with the transaction.

  • The "new" hotmail no longer works with safari, but works with firefox. Hmm.

    The "new" hotmail no longer works with safari, but works with firefox. Hmm. i find this very convenient being a microsoft product. anybody else wonder why this new version happens to not be safari compatible? does anybody know if it works on the PC version of safari? if not, i find this to be a blatant move on microsofts part to bias the safari browser (especially since its basicly new on the window platform). forcing safari/hotmail users to "have" to use another browser to access their hotmail accounts.

    I have been successfully using Hotmail and Gmail with Safari for a long time. For roughly the past month, that relationship is rocky at best. At times, one of the following actions suddenly opens Hotmail, but it is a short-lived solution:
    (a) Hotmail directly
    (b) Hotmail Home>Hotmail
    (c) Sign up to Windows Hotmail
    (d) Deletion of prescribed cookies, resetting, etc. - made no difference
    Both Firefox and Opera work fine with Hotmail - especially Opera is very fast.
    In addition, Safari and Gmail does not work with Attachments, but otherwise Gmail is OK.
    I suspect I have to wait for a Safari fix because in my case I do not wish to abandon Hotmail, and Safari is a given. I would think that Safari would want to stay competitive with the two biggies, Hotmail and Gmail, which must have large numbers of users.
    I certainly would appreciate any other suggested fixes.

  • My keyboard is not working in "Pages" but works with all other applications.  Please provide resolution advice.

    My keyboard is not working in "Pages" but works with all other applications.  Please provide resolution advice.

    What version of Pages?
    There are one or two of us here who are not intimately acquainted with your particular set-up.
    Peter

  • Why does the FP 10 work with firefox but not with IE8

    I down loaded the folowing for xp FP uninstall, FP plugin and FP debug from the link in one of your replys. now I can watch youtube  with firefox but not with IE8. you asked me before if i was using 16 bit. whats that mean and how do I find out? please help I just want to watch youtube on IE!

    Ok Shag, since you hadn't been on a Forum before, then I'll take some of what I said back:-) I wanted you to stay on one thread, you can get in trouble trying things that may cause you more problems than you had in the beginning. I just had your best interest at heart
    I'll even overlook your all caps here:-) At least you responded
    Now since you say you fixed it, what you should do is to confirm it is fixed by taking a look at your Flash folder. This contains all of the Flash files for IE and FF. Then make sure you have the IE add on and the FF add on. That way if you have any future problems, at least you would know it is not the Flash Player.
    You should only have 2 .exe files for IE and 1 for FF.
    For Video editing, I would check Microsoft and see what they have. Perhaps someone else will come along with other info for you.
    No, I don't get paid here, since I am not an employee. Just a user helping others, since I had a problem at one time and after 4 hours of researching solved it.
    Let me know if you want to check the Flash files.
    Thanks,
    eidnolb

  • HT3387 When I use pages the languages that I mainly use are English and Hebrew. The spellchecker works for English but not with Hebrew. How can I add another language to the spellcheck?

    When I use pages the languages that I mainly use are English and Hebrew. The spellchecker works for English but not with Hebrew. How can I add another language to the spellcheck?

    http://m10lmac.blogspot.com/2011/06/extra-spell-checking-dictionaries-for.html

  • Photos uploaded through icloud control panel are only synced with iphone but not with ipad

    Photos which are uploaded through icloud control panel are only synced with iPhone but not with iPad. Photos taken with iPhone or iPad are synced with all devices. So, why I do not get the uploaded photos from my pc to iPad? I alredy disabled photo stream on all devices - same failure

    If only one device is not getting updated data, you need to troubleshoot that device and not photostream itself.
    Verify that ipad is connected to wifi, charged over 20 percent, camera app is closed and take a photo of the screen (or anything else, but then close that camera app).
    Open photostream folder on that ipad and see if picture shows up. If you network is good, should not take long.
    Don't forget that while your phone can use wifi and cellular (even it suppose to use wifi for photostream, cellular networks got much better since original photostream was implemented) - you ipad is probably wifi only.
    If picture shows up - you ipad and photostream have no problems and you can go to other devices one by one.

  • Can manually subscribe with Windows but not with Mac

    For some reason I am able to manually subscribe to the below feed just fine with iTunes on my PC (Windows XP) but I get an error when trying with my iMac (OS X 10.5.8):
    *http://feeds.feedburner.com/Metalspeak*
    The error I'm getting with my iMac references "An unknown error occured (400)"
    I was troubleshooting a different feed and am getting similar results: it works fine with the PC, but not with the iMac:
    *http://feeds.feedburner.com/MetalsPeakPodcast*
    The error I'm getting on this feed however states "The file might be corrupted, or a file type that iTunes cannot play"
    Can anyone think of why these feeds work with Windows but not with Mac? Any advice is appreciated!

    The problem lies with the URLs for your media files. The one for the top episode is
    http://www.metalspeak.com/episodes/MetalsPeak 10 - GenresPeak.mp3
    This URL contains spaces, which are not allowed in a URL. Browsers - and from what you say iTunes in Windows - handles this by substituting the code %20 for each space when requesting the file; iTunes for Mac does not.
    You need either to change the filename for each media file, removing the spaces or substituting something such as an underscore, and then amending the feed accordingly: or at the least to amend the feed by replacing each space with %20.
    It's the same problem in the other feed.

  • People picker is not working for ie11 but working fine for other lower version

    i am using sharepoint 2010 and windows authentication
    recently i have updated my ie to ie11 and problem goes here.
    when i try to select from people picker, there are an unexpected error happened 
    however when i use other ie version, people picker work fine, what goes wrong?
    i have already added my system as trusted site
    if there any others thing i miss out?

    Hi,
    According to your post, my understanding is that People picker is not working for ie11 but working fine for other lower version.
    IE 11 is known to have compatibility issues on SharePoint 2010, please make sure to:
    first of all, try installing latest update for IE 11 (several compatibility issues were fixed since the first release)
    add the site to compatibility view (in IE> Tools> Compatibility view settings> type site name> add)
    add the site to trusted sites and set the zone security level to low (in IE> Internet Options> Security> trusted sites> sites>add your site there> ok> custom level> select low> reset> ok)
    You can use developer tools (f12) and set browser mode to the version that is most compatible with your environment.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Motion tracking is not working for videos but works for images?

    Motion tracking is not working for videos but works for images. When the videos is drop onto the tracking object the videos corner don't appear highlighted. I am working on windows 7 with version 13.1.

    ivanhoeeurope
    Are you within 30 days of purchase for the Premiere Elements 13? And, did you purchase as a download from Adobe? If so, you can
    apply for a return/refund for 13. If you purchased elsewhere, then you would be governed by the return/refund policy of the seller.
    Adobe no longer sells version 12, so you would have to find a vendor who still has it in stock and purchase it. There is no way to "downgrade"
    13 to 12.
    What you may want to do is to download and install the Premiere Elements 12 tryout from the following web site to verify that 12 Motion
    Tracking works for you; whereas 13 cannot with regard to use of video for the Motion Tracking source media.
    Adobe Photoshop Elements 12 Direct Download Adobe Photoshop Elements 12 Direct Download Links, Premiere too | ProDesignTools
    Apparently this web site does not sell the tryout. It just makes it available for use.
    Before I posted my reply to you I looked at Motion Tracking with video source media on both Premiere Elements 12/12.1 and 13/13.1 on the same Windows 7 64 bit computer.
    If any questions or need clarification, please do not hesitate to ask.
    Thank you.
    ATR

  • Audio CD not recognized with Mini but reads with Macbook?

    Error message saying Audio CD not recognized with Mini but reads with Macbook pro. Both machines are using the same Samsung external usb dvd/cd player.
    I've tried rebooting the mini, cleaning the disk, unplugging the drive and the Mini still won't recognize the CD's (it's a 3 cd set and all 3 disks aren't working on the Mini.
    When I use the same disks and drive with my Macbook Pro everything works fine.
    Any suggestions?

    Hi Jay,
    Certainly a strange one!?
    Are these commercial or self made Discs?
    Have you tried CD/DVD sharing on the MBP & see if the Mini can read them in the MBP?

  • I get sound from Youtube with Safari but not with Firefox

    I get sound when using my MacPro with Safari but not with Firefox.

    Did you check the volume setting in the player to make sure that the sound isn't muted?
    You can try to clear the Flash local storage.
    Flash Website Storage Settings panel:
    *http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html
    Flash Local storage settings Help:
    * http://www.macromedia.com/support/documentation/en/flashplayer/help/help02.html

  • BB does sync media with PC but not with Mac

    my BB does sync media with PC but not with Mac. At my Mac I got 'Insert media card'. How can this be solved as PC is no problem?

    I got the Bold 9790. I am not sure which OS, does that matter? Are there OS versions not compatible?

  • Multiple image upload CRASH!!! but works with simple image upload

    I'm getting MAD.
    I'm using php and GD
    While the simple image and re size works like a charm, the multiple image upload or the multiple file upload have a strange behavior.
    It opens the pop-up with flash, then eventually shows me files or thumbnails but when I try to up load I just wait and get the typical "system becoming unstable" flash error.
    As I can see the directory is always generated (I've tried also to put a static directory) but after stargin the upload the flash uploader just crashes and no result.
    Any help would be really appreciated

    Hi Fonzie,
    as the folder is getting created, the issue you´re having is not related to wrong folder permission - it´s something else...
    As I wrote before, che common upload and resize function works perfectly
    this one works perfectly, because it´s just one file to upload and to process, wheras doing that with multiple files might collide with some settings on your server
    So for sure it's not a simple issue as the max filesize
    Are you sure ? Did you check the current "max_upload_filesize" setting ? As long you don´t check it, you can´t know :-)
    As a general rule of thumb, it´s important to be aware of the fact that uploading & resizing images on the server might collide with several PHP settings -- and the more images you upload and resize in one swoop, the closer you´re getting to these limits respectively might even be exceeding them. The following "directives" are those which have an effect on whether your image/file upload & processing will work or not:
    - "max_upload_filesize" :: is sometimes set to just 8 MB on a shared hosting, sometimes 16 MB, sometimes more. This setting will affect the file upload procedure only
    - "set_time_limit" (e.g. 30 seconds) :: if the execution time of a script exceeds this limit for whatever reason, the server simply shuts it down without letting you (respectively the flash uploader) know it´s been shut down. This *might* be the reason why ADDT´s flash uploader hangs respectively returns that error message after some time, because it´s waiting for some response from the server which never comes.
    - "memory_limit" (e.g. 8 MB) :: this directive is a sort of "allocated server RAM" for your account, and it´s in particular the image resizing process which will grab more or less memory resources -- the higher the the resizing factor is, the more RAM is spent, and the more images are getting resized in one swoop, the worser it gets.
    However, all these PHP directives can be changed, and your host might even be so courteous to increase the currently defined values of those abovementioned directives for you -- and that´s what I´m suggesting at this point.
    Cheers
    Günter Schenk
    Adobe Community Expert, Dreamweaver

Maybe you are looking for

  • IPad (3rd gen.) speaker and microphone suddenly not working and iPad freezes. Help!

    I was just watching some YouTube videos on my iPad and noticed that it only had 5% battery left. I plugged it in for charging and continued to watch. After that video had ended I moved onto another one, only to notice that I had no sound. I thought t

  • Firefox gives 500 internal server error when i upload a javascript file with .js extention the same code works in Chrome

    hi love, i was surprised to see this and lack of my knowledge brought me here. below is my code HTML <pre><nowiki> <form id="form" name="form" action="http://123.21.111.51:8081/v1/AUTH_beta27/peter/" method="POST" enctype="multipart/form-data"> <inpu

  • USB32DVIPRO usb to dvi external video card

    I recently bought an USB32DVIPRO to connect a second monitor to my system, but when I plug it no new screens appear in xrandr. The dmesg output is: [16682.712967] usb 4-1: new SuperSpeed USB device number 4 using xhci_hcd [16682.728075] usbip-host 4-

  • How to get data from trx vf02

    hi all, on the bassis of vbrk-vbeln in trx vf02i need to trigger the smartform. i have hardcoded the value of vbeln in print program of smartform & iam getting the desired result. but when i go to vf02 - > billing document----->issue output to  i onl

  • Navigation Attributes

    dear All, Is there any thumb rule to decide whether a characteristic should be defined as an attribute/navigational attribute. the reason is from a realignment point of view, navigational attributes can be easily realigned by just updating the master