FODC tab now uses theme functions to generate the DC content, datastream info,
and list of parents. Only thing not really being generated is the tiny
(but repeated) form for downloading. Also, make the convertQDC XSLT a little
simpler, even though it really won't need to be used anymore...
Refactored to use the new RI search methods as well.
Because of Drupal's workflow, we may not have access to the regular t()
function. Drupal provides get_t() function to address this issue, it
just has to be used (and it's return used).
Also, use the bloody url function instead of appending $base_url.
Wrapping allows either content or a file to be pushed, independant of the
controlGroup... You don't have to know if you need to push by value or
reference!
When you tried to replace a datastream that was anything but managed,
you would get a SOAP error. Changed this behavior so that you can
replace a managed datastream, an inline xml datastream, and it gives
a reasonable warning if you try to replace a reference or redirect
datastream.
In Fedora item when you call the constructor it automatically does
a getObjectProfile soap call. This was reporting soap errors
when called on an item that dosen't exist, we don't want to
show the user this.
The ObjectHelper.inc file uses the deprecated API-A Lite API, i.e. localhost:8080/fedora/get/{pid}/{dsID}
This causes problems when XACML policies are in place that require access to certain datastreams based on fedoraRole. Basically, despite sending accurate credentials in the GET request, the fedoraRole is not recognized by fedora's AttributeFinderModule, and a user cannot access a particular datastream. The protected datastreams, however, are viewable in Fedora's admin console (while using the same credentials) since that uses the REST API.
Updated the curl call to use the new REST API.