Author: sevein
Date: Sat Oct  8 18:32:34 2011
New Revision: 9995

Log:
Update TODO, remove debug condition in if statement

Modified:
   
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/actions/depositAction.class.php

Modified: 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/actions/depositAction.class.php
==============================================================================
--- 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/actions/depositAction.class.php
   Sat Oct  8 18:20:46 2011        (r9994)
+++ 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/actions/depositAction.class.php
   Sat Oct  8 18:32:34 2011        (r9995)
@@ -81,7 +81,7 @@
       // 'Content-Length'
 
       // Calculated MD5 check does not match the value provided by the client
-      if (true || md5($package_content) != 
$request->getHttpHeader('Content-MD5'))
+      if (md5($package_content) != $request->getHttpHeader('Content-MD5'))
       {
         $this->response->setStatusCode('412');
 
@@ -101,8 +101,14 @@
         chmod($tmpDir, 0775);
       }
 
+      // TODO
       // Check user authorization
       // Check upload limit
+      // Save the file temporary
+      // Open the package (METS support?), get metadata and digital objects
+      // Create persistent objects in the database
+      // Generate routes and response with links, depositSuccess, etc...
+      // Complete XML error documents (see templates/error/*)
 
       // HTTP status code 201: Created
       $this->response->setStatusCode('201');

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to