File Upload: What to do when page has a validation error.

Hi,
Here's the situation. I have a page with 2 fields: Description and File (this is a file browse item). Both are required. I want to place the file into a custom table called car_pictures.
The user selects a file, but forgets to enter the description. The validation catches this and returns the user back to the form page.
The problem is that the user's file has been uploaded to the system in APEX_APPLICATION_FILES. As you can imagine this can clutter up the DB with unused files.
I was thinking about how to solve the issue and here's what I think. Please let me know if there's a better way to approach this issue:
- Create a table called: temp_file_storage... it'll have the same properties as the APEX_APPLICATION_FILES view.
- Have a page process (on submit, before validations) that moves (i.e. copy then delete) the file from APEX_APPLICATION_FILES to temp_file_storage
- Have a page_process (on submit, after validation) which will move the file from temp_file_storage to car_pictures.
- Create a system or DB process which will "empty" the temp_file_storage table
Though there's extra steps here and a process which you may need to run daily, it will prevent old data cluttering up the apex_application_files table.
Thoughts/comments?
Martin

Hi Merrileeruth,
I recommend performing a hard reset of your camera.  Here's how:
Remove the battery pack from the camera and close the battery compartment.  Now Press and hold down the power button for 5 seconds.  Replace the battery pack and turn the camera on.
If your camera works normally, you're ready to start shooting.  If the issue persists, unfortunately, your camera will require service to resolve this issue.  For service options, please click here.
Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

Similar Messages

  • When Pages has to update it asks me for a different email than the one I use, What do I do?

    When Pages has to update it asks me for a different email than the one I use, What do I do?

    Update it from that Apple ID, or delete and redownload it.
    (111534)

  • TS1424 All of my books in iBooks have the following message:  "this page has the following errors:  error on line 1 at column 1 document is empty error on line 1 : encoding error..,...". Any advice?

    All of my books in iBooks have the following message:  "this page has the following errors:  error on line 1 at column 1 document is empty error on line 1 : encoding error..,...". Any advice?

    I have the same problem. I've tried to restart my Ipad and downloaded the book again several times but nothing has changed. There aren't any reviews on the book with that problem and I've got the latest version of iBook so I don't know what else I can do to get the book which I've paid for. Does anyone have another idea what I could do? (maybe one of the above might help you, Paul)
    Thanks

  • What does "The System bootstrapper has crashed: Bus error" mean ?

    What does "The System bootstrapper has crashed: Bus error" mean ?

    Was this an upgrade?
    You could repair disk and permissions,  but I suspect a corrupt OS X.  I would reinstall the operating system.
    COmmand R on reboot if your Mac is newer.

  • File upload fails...when specific encoding is included in the constructor

    Hi All
    I have a file upload function which uses MultipartRequest. It was working fine until I downloaded the latest version of MultipartRequest, which supports multi-lingual file upload. But now it does not work. I dont get any error message either.
    If I put "ISO8859_1" as the encoding, the file is never uploaded and I dont get any error; just get the 'submission successful' message. If I use "SHIFT_JIS" as the encoding (as I need to support Japanese) the file never gets uploaded and I dont get the 'submission successful' message either. The browser slows down very much and never goes to next page.
    What could be the reason?
    Has anybody used MultipartRequest to support languages other than English?
    Thanks in advance.
    m_asu

    Still stuck with upload functionality:
    Problem is with the name of the file. If I try to upload the file with Japanese name, it does not go the desired location and I dont get an error either. So it is hard to figure out what is going on.
    m_asu

  • Why do Sony DSC-RX100M3 raw files look strange in PE9 when flash has been used in the shot?

    I have just bought a Sony DSC-RX100M3 camera and use it to shoot raw + jpeg.  I want to use the raw files in my Photoshop Elements 9, which has the Camera Raw plug-in version 6.5.0.216 installed. I have downloaded the Adobe DNG converter version 8.7.1.311 so I can import my Sony raw files into PE 9 as they cannot be used directly. Most of the time these raw files look OK, but when I use the flash on my camera and then look at the raw files in PE9 they look far more pink than the corresponding jpeg files. The jpeg files look more or less as I remember the scene when I shot the picture.
    When I look at the same raw and jpeg files in Sony's own Image Data Converter software (version 4.2.04.17270) the raw and jpeg files look very similar to one another, and there is no pink colour cast in the raw file.
    What am I doing wrong in Photoshop Elements? I though the DNG converter keeps all the information from the original raw file and makes no changes to it, so why does the raw file look so different when flash has been used?
    Thanks for any help you can give!
    AVM

    Looking at the pictures of the camera online, I'd say there is no lens shade--a device to keep light from the sides from causing lens flare--and the camera lens, itself, was just too far extended and there was a lens shadow.  You probably can't use the flash that close up and should back off and zoom in further.  Experimenting would give you a sense of what situations will have a shadow of the lens or not.
    Your ACR plug-in is old enough not use have Process Version 2012, yet, only 2010 and 2003 so Adobe didn't have the idea to put the selector down next to the camera profile. The toning options are better with Process 2012 so that would be a reason to upgrade, but I am not sure that the Camera Neutral profile in PSE9 would be different than PSE13.  If Adobe changed the camera profiles then people's pictures would look different once they upgraded to a new version and that's not something that's supposed to happen.
    You can certainly download the PSE13 trial and see if things look any different, but they may not:  Download a free trial or buy Adobe products | Adobe downloads   There would be newer minimum OS version requirements for the newer versions of Adobe software so check those out before trying to install, unless you're on Windows 7+ or OSX 10.8+ then it should be fine.
    One more thing, the White-Balance tint is set to +10 by the camera:
    This As Shot WB is more magenta and even when using the Adobe Standard profile, moving the Tint down to +0 makes things a little more green like your camera JPG.  So there is more than just changing the camera profile that you can do:

  • What to do when "library has issues that require rebuilding to correct"

    What to do when you get message "library has issues that require rebuilding to correct"?

    Rebuild.  What version of iPhoto are you  running?  If it is iPhoto 9 or later Try the following:
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    2 - Run Option #4, Rebuild Database, followed by Option #1 if needed.
    OT

  • HT201210 what is problem when itunes shows 'cannot restore error (1015)'

    what is problem when itunes shows  "cannot restore this iphonr ."error (1015)

    riveroak wrote:
    what is problem when itunes shows  "cannot restore this iphonr ."error (1015)
    Unauthorized modification of iOS
    http://support.apple.com/kb/HT3743
    ERROR 1015...
    This Error Code is indicative of the Device being jailbroken / Hacked...
    Sorry... But...
    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
    You will need to look elsewhere.

  • Button condition on page item and Validation error Conflict

    Hi,
    I have a select list page item and a button on page whose condition is based on the select list page item value(eg, If (:P2_item1='val1'){return true;}) with condition type=PL/SQL function returning boolean. This buttons submits the page.
    It' coming fine in normal case. However, if I select some value val2 from the list and then click the button, and if there are any validation errors (like mandatory check or email check fail etc), then the button disappears because it evaluates the button condition based on the changed value(val2), but the page has not yet been submitted because of validation errors.
    I think this can be solved if I create the button condition based upon database column value instead of page item as db col value won't change until the page is submitted.
    This look like very basic use-case and I would like to know if there is any better solution to this problem.
    Note: I am using Apex 4.2.1

    I don't want to show/hide the button on the change of the page item lov value, so i am not using Dynamic action.
    What i was is to make button visible based on a condition(which is based on page item), for which we have condition attribute of a button available.
    This is a very common thing where a user chooses the button condition as Value of item/column in expression 1 is null/expr2. But what if the user changes the page item value but it doesn't get submit due to validation error. In that case, the button condition fails.
    So, i guess i have to use column name in expression 1, can u tell how to do that?
    Expression 1 = IF (:P2_STATUS='val1') then return true;
    How to change the above to use db column 'status' instead? Any direct way(like #Status#) or I have to query db to get it using select.
    Any alternative approach?

  • Why does Finder think a file or folder is modified when it has only been opened (not re-saved)?

    I try to use the Finder to sort my folders and files by Date Modified so I can quickly access my current projects/files/folders and keep them on the top of the list.  Whenever I open an older file to just see what's in it Finder thinks that the file has been modified.  I don't change anything or re-save it, I just open it and close it.  This makes the Date Modified sort pretty much identical to the Date Last Opened sort.
    1) Is there a way to stop this behavior?
    2) Is there a way to sort by Date Last Saved?

    Please re-read my original question and post.  Your answers don't help me and I wonder if I haven't written my post correctly to communicate my desire.
    I currently use the Finder to sort my files by "date modified", but I want to use the Finder to sort by "date last saved", but it doesn't have that option.  Many times I open a file just to explore what's in it, then I close it without changing anything or saving it - but when I do the Finder thinks I have "modified" it, and it puts that file at the top of the list.  I didn't modify it, but Finder treats it like I did.

  • Some files uploaded to "Other" category when they ...

    I have just installed BT Cloud for the first time so am still learning.
    I only wanted one specific folder uploaded which on my local desktop PC is a sub-folder under Documents in Windows 7.
    I therefore deselected all the other categories that I did not want uploaded to The Cloud.
    All the files in this folder were PDF documents and all went well with the upload except some were allocated to the "Other" folder in The Cloud storage. The rest were correctly assigned to "Documents" folder in The Cloud storage.
    Why would this happen and how do I move the files that have wrongly been stored in "Other" to join the rest in "Documents" within The Cloud storage.
    As I say all the files I was uploading ended in .PDF
    I am able to open and display correctly the ones that have been assigned to "Other" in The Cloud.
    I am rather confused and would appreciate any help.
    Thank you.

    AjayK48 wrote:
    Thought it might be a one off error so deleted all the uploaded files in the cloud and emptied trash.
    Removed from settings the entry for the one and only specific folder I wanted uploading to The Cloud.
    Signed out and back in again and added the specific folder again in settings. Files uplaoded but again some put correctly in "Documents" and some incorrectly in "Other".
    Each file download initially indicates that it is a document but it is only when the download for the file reaches 100% that it suddenly changes the category to "Other" and thus puts it in the "Other" folder.
    All files are PDF and end in .PDF
    I cant see any difference between the files that end up in each destination folder and no files are any bigger than 40MB.
    Any help would be much appreciated.
    The BT Cloud file classification is such that it only recognises files by their extension, eg. .doc, xls, jpg, ...etc.
    A .pdf file has no specific classification, so BT Cloud sees it as "other", in the same way as it would see a .zip file.
    The way around this, for your own file organising, would be to "Create a Collection". This would narrow down a quick search for an individual file from a large number of files, (if you have uploaded many files).
    As far as I know, "Create a Collection" does'nt involve uploading masses of data, as it's just creating a folder structure from files you have uploaded.......

  • CLEAR BUTTON IS NOT WORKING WHEN PAGE HAS MUTIPLE SEARCH PANELS

    I created 2 regions on a page with the style Query both with a table.
    If I add information into the first tables' Edit Box and click clear, nothing happens, the information is not cleared. If I click Go, it will perform the query.
    If I add information into the second tables' Edit Box and click clear, the information will be cleared.
    Why doesn't the first clear button clear the information in the Edit Box?
    Is this a known issue?

    When using multiple query regions on same page, you will have to assign unique ids to the standard beans inside the region. Check the dev guide, "Search" section for a list of beans which require such setting.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • File upload in oracle9i using JSP page from browser

    Hi guys
    I need to store a pdf file from the JSP page into the Oracle9i DB.
    FrontEnd: Netbeans6.0
    Backend: Oracle9i db server
    I need Jsp code and table creation code i want to create in the Database.
    Pls help me out it is urgent.

    Javamu wrote:
    Hi guys
    I need to store a pdf file from the JSP page into the Oracle9i DB.
    You mean Servlet.
    FrontEnd: Netbeans6.0Netbeans is not a front end to anything. It is an IDE.
    Backend: Oracle9i db server
    I need Jsp code and table creation code i want to create in the Database.This site is not a place to get codes. This site is a place to get help with codes you have written. This site is also not an Oracle or general database or SQL question support forum.
    Pls help me out it is urgent.If it is urgent then you are cooked.
    You can start learning about the various things you need here
    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets.html
    http://java.sun.com/docs/books/tutorial/jdbc/index.html

  • Hey, last night after my phone died it refused to charge or even signal the  battery picture which is usually what pops up when it has run out of battery life, whats wrong?

    I've used various charger with my phone due to the fact that my original one broke and it's hard to get a hold of a real apple cable, So last night it ran out of battery and refused to charge anymore ( this was the third time it ran out of battery). It didn't react to any of the botton, it didnt even signal me with the whole " i need you to charge me " picture. later that night  i decided to check on it and it signaled the picture so i plugged it in with the cars charger and it worked, my phone charged perfectly fine it turned on and worked okay. and this moring the whole senerio stared up again except now it won't charge at all i found an original Apple charger, i plugged into the computer, car, and house outlet and no response from the phone at all. I also I don't have the cable which charged my phone last night in the car it belonged to a friend and my phone still has no response to any bottons....

    If you have one try using a different charger lead, adapter or plug socket. If that fails it may be that the charger port is broken. I had the same problem with my ipad but it was within warranty and I got it replaced at an apple store

  • What to do when ps4 has blinking white light?

    Ok I turned my ps4 on last night, the watchdogs disc had been in there so selected to play it and nothing happened! I could not navigate the menu, everything froze, so tried ejecting the disc and it just beeped. I tried pressing the on off button on console then it just went to flashing white light continuously! I tried pressing the button again, disc eject, nothing! In the end I cut the power! Turned console back on, rebuilt database and then was greeted by message saying don't cut power before shutdown, but what the heck was I supposed to do?

    Thank you! YOU ARE AWESOME

Maybe you are looking for

  • Macbook Pro 15" or iMac 27"

    Hello,      I am finally taking the leap and will be buying a Mac.  I have no idea what I'm doing nor do I know anything about computers besides running programs I use on a normal basis. I'm a student learning to become an Interior Designer who used

  • HANA - XML Parser support

    Hi all, We wrote a javascript to process xml, but how to call it from stored procedure? We tried to use odata service to create xml output. We can create some feed with attribute names but that is not exactly same as normal xml. Can we apply some con

  • Excise in Returnable Packing

    Hi, I now wanna sell my returnable packing material but when i sell it by order type "LN" it doesnt pick up any excise amt. Can anybody tell me why. - Have maintained the chapter id's for the material also. Rgds

  • Byte [] to Object and Object to byte[]

    Hi, I am quite new to java and need some help. My question is how can I convert an Object to byte [] and convert back from byte [] to Object. I was thinking of something like: From object to byte [] byte [] object_byte=object.toString().getBytes(); W

  • JTextArea.setText("String ") not updating the GUI.

    Hi, When i tried to update the JTextArea with a new String it is not replacing the string in the TextArea. If I try to print the content by retrieving the data in the TextArea using JTextArea.getText() it is showing the latest string set to the JText