Adam Vessey
0947f3b790
ISLANDORA-766: Allow arrays relationship objects
12 years ago
William Panting
040395fe64
ISLANDORA-761 added in changes to improve how fedora item sets ownerId
12 years ago
Adam Vessey
e363b937b4
Fix acquiring of ownerId
...
Associated with ISLANDORA-757: The findObjects call was broken.
12 years ago
William Panting
558286ade5
ISLANDORA-761 fedora item setting ownerId as user->name rather than uid
12 years ago
Jason MacWilliams
db0a23e73c
fixed typo in get_mimetype
...
A typo in the get_mimetype_of_datastream function was causing an error and returning nothing any time someone asked for a mimetype, its feeling much better now
12 years ago
William Panting
5673e7860e
ISLANDORA-757 setting ownerId to null if obj doesn't exist in Fedora.
12 years ago
William Panting
8fa38f2c5a
ISLANDORA-757 ownerId property being populated in Fedora Item.
12 years ago
William Panting
68a38f06e4
code styles
12 years ago
William Panting
1fa6bf8aab
Fixed some typos in a constant
12 years ago
William Panting
7be2fd3122
ISLANDORA-742 forgetting objects from cache on purge.
12 years ago
Adam Vessey
24ffc477ec
Fix errors being reported during purge relationships
...
If the RELS-{IN,EX}T file didn't exist, we would encounter errors. Now, we
check that there's an actual file there before attempting to act on it.
12 years ago
Adam Vessey
77be83fdba
Add functions for dealing with RELS-INT in a similar manner to RELS-EXT
12 years ago
Alan Stanley
1bb2f4805f
updated get_ref_relationships to accomodate new namespaces
12 years ago
Adam Vessey
c69af4854e
Make fix slightly more portable.
12 years ago
Adam Vessey
0d7d650450
Fix temp files with spaces.
12 years ago
Adam Vessey
b617131261
ISLANDORA-655 OwnerId being wiped out.
...
Looks like the "modifyObject" SOAP call requires an owner ID...
By default, we were providing NULL, which would result in it being
blanked out. I've made it so that it grabs the owner ID from the
object profile when it is NULL, so that it should be maintained
by default.
12 years ago
Jordan Dukart
325e326cee
Change so that modify_datastream_by_reference attempts to access a file via HTTP and not HTTPS. Previously the file could not be accessed.
13 years ago
Adam Vessey
87972d4a1a
ISLANDORA-695 Fix replace datastream errors.
...
... Looks like I had created had an error in my fix, so this
should fix the error from the previous fix... Should be good now.
13 years ago
Adam Vessey
2ddd247647
ISLANDORA-695 Replacing datastream errors.
...
Create a work around for file_create_url not playing nice.
13 years ago
Jason MacWilliams
530d5a3aca
added notes to reverse iterator in purge_relationships
13 years ago
Jason MacWilliams
845c33964a
updated purge_datastream to iterate backwards through the rels elements instead of forward so it can correctly remove all of them
13 years ago
jonathangreen
bf5f0b40bc
Updated the watchdog
13 years ago
Jason MacWilliams
c781b4e78d
fixed error trap in get_datastream to log it in the watchdog - also fixed a syntax bug
13 years ago
Jason MacWilliams
cfe5efd06b
added checks to get_datastream and get_datastream_dissemination to filter for missing datastreams, also updated add_datastream_from_* and purge_datastrea to resync the datastream list so the checks are consistent
13 years ago
Adam Vessey
694c4039fe
Bit safer with labels and minor optimization.
13 years ago
Adam Vessey
c636034d95
Improve relationship management.
...
Can now use some basic typing (int, string) for RDF literals.
13 years ago
Adam Vessey
7b5d3cbee9
Fix move_to_trash function.
13 years ago
Adam Vessey
48c63fad76
Simplify logic in get datastream list and allow multiple pids to be obtained.
13 years ago
Paul Pound
df42d77c10
fix for ISLANDORA 604 and added some defines to FedoraItem.inc
13 years ago
Adam Vessey
9a52580ed9
Comment refinement.
13 years ago
Adam Vessey
830b597c4a
Add parameter to suppress error messages on get_datastream
13 years ago
Adam Vessey
856489f74f
Allow returns from modifications...
13 years ago
Adam Vessey
2c47f9bfb2
Allow returns from modifications...
13 years ago
jonathangreen
9bbf9e8423
ISLANDORA-527: Fixed the SOAP URL.
13 years ago
Adam Vessey
1c568f760d
Remove unnecessary comments
13 years ago
Adam Vessey
04a0a76378
Produce a purge_relationships function which is more similar to add_relationship
13 years ago
Adam Vessey
27be8ded87
Add 'quiet' parameter to modify_datastream wrapper.
13 years ago
Adam Vessey
63b089cedd
Allow for literals in add_relationship, and use wrapped modify_datastream
...
Slight improvements, and RELS-EXT does not have to be inline XML
(can be managed)
13 years ago
Adam Vessey
280243ea65
Drupal-parsable docs
13 years ago
Adam Vessey
899f1fb5ad
Documentation and improvement of wrapper.
13 years ago
Adam Vessey
33b0c3b3ce
Additional error handling, and add wrapp for modifyDatastream
...
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!
13 years ago
Ben Woodhead
860069f400
Cleaned up error handling
13 years ago
jonathangreen
0b40b55981
Added the quiet=true flag to fedora_item.inc
...
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.
13 years ago
jonathangreen
4ba420dce8
Updated Fedora Item Datastream add for HTTPS
...
When a datastream is added using HTTPS if its using the drupal url
it will try to use HTTP instead of HTTPS since Fedora has some problems
with HTTP. Ammended commit. Removed debug statements.
13 years ago
Adam Vessey
972e97d498
Comment out debug lines.
13 years ago
Adam Vessey
417b1ab050
Handle redirect streams better, and various minor changes.
13 years ago
Alan Stanley
6f2442e96b
Added abiltiy to force reinstallation of fedora objects
13 years ago
Ben Woodhead
fec776de32
Added a force reinstall and fixed a move to trash bug
13 years ago
Nigel Banks
6bd33358ed
Using fedora item instead of object helper in some cause to prevent exceptions such as object not found in lower level storage.
13 years ago
Nigel Banks
0ba035d4da
Cleaned up the function soap_call(). It was using watchdog incorrectly, causing the function to attempt to serialize non-serializable data.
13 years ago