GET url for new work, redirects to GET url for new work resource
POST url for create work, raises an exception
GET url for editing a work, redirects to GET url for editing work resource
PATCH/PUT url for update work, raises an exception
In Hyku, when Hyrax.config.use_valkyrie? is true; our entry methods for create and update in the actor stack should raise an exception. No rescue no kindness just scream "Not gonna do it!" in our best Dana Carvey imitation of George Bush Sr.
The observed problem is when Hyrax.config.use_valkyrie? to be true, and we use the Actor Stack we end up create two objects with different IDs, one an ActiveFedora::Base object and the other a Valkyrie object; in essence creating one work in fact creates two.
This means:
Hyrax.config.use_valkyrie?
istrue
; our entry methods for create and update in the actor stack should raise an exception. No rescue no kindness just scream "Not gonna do it!" in our best Dana Carvey imitation of George Bush Sr.The observed problem is when
Hyrax.config.use_valkyrie?
to be true, and we use the Actor Stack we end up create two objects with different IDs, one an ActiveFedora::Base object and the other a Valkyrie object; in essence creating one work in fact creates two.