Changes between Version 5 and Version 6 of Ticket #2732


Ignore:
Timestamp:
07/24/12 09:27:28 (22 months ago)
Author:
ross
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2732 – Description

    v5 v6  
    2727   resource before the save ? What happens if the user tries to submit before asymc upload finishes ? Should we delay them? 
    2828    
     29The upload workflow should look like... 
     30 
     31 1. File upload should be a straightforward file upload with normal auth checks and normal processing of the posted data.   
     32 2. a. When called via ajax then the ID of the newly created file should be returned, 
     33     b. When called via WUI then it should also be given the url to redirect to after the file upload has been handled - the id will be passed as a query param. 
     34 3. The resource save should check whether it has a file id and in that case updates the file object to point to the resource. 
     35 
     36This should enable: 
     37 
     38 * Separate file upload into a user's temporary store, either individually or as a batch. 
     39 * Creating resources and simply choosing from previously uploaded, unassigned files 
     40 * Adding files/data to a resource after the fact. 
     41 
    2942    
     43 
    3044'''File storage''' 
    3145