myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3778] branches/packs/app/controllers/research_ob


From: noreply
Subject: [myexperiment-hackers] [3778] branches/packs/app/controllers/research_objects_controller.rb: fixed issue with manifest not available directly after creating a new research object
Date: Tue, 12 Nov 2013 13:01:09 +0000 (UTC)

Revision
3778
Author
dgc
Date
2013-11-12 13:01:08 +0000 (Tue, 12 Nov 2013)

Log Message

fixed issue with manifest not available directly after creating a new research object

Modified Paths

Diff

Modified: branches/packs/app/controllers/research_objects_controller.rb (3777 => 3778)


--- branches/packs/app/controllers/research_objects_controller.rb	2013-11-11 15:52:04 UTC (rev 3777)
+++ branches/packs/app/controllers/research_objects_controller.rb	2013-11-12 13:01:08 UTC (rev 3778)
@@ -93,6 +93,8 @@
 
     response.headers["Location"] = ro_uri
 
+    ro.manifest_resource.generate_graph!
+
     send_data(ro.manifest_resource.content_blob.data, :type => "application/rdf+xml", :filename => ResearchObject::MANIFEST_PATH, :status => 201)
   end
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]