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.
13 years ago
Adam Vessey
77be83fdba
Add functions for dealing with RELS-INT in a similar manner to RELS-EXT
13 years ago
Alan Stanley
1bb2f4805f
updated get_ref_relationships to accomodate new namespaces
13 years ago
Adam Vessey
c69af4854e
Make fix slightly more portable.
13 years ago
Adam Vessey
0d7d650450
Fix temp files with spaces.
13 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.
13 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
Alan Stanley
e5027f60e3
Added namespaces to relationship maninupulators for pagination
13 years ago
Alan Stanley
79b3723459
added conveninece method to wrap datastream writing
13 years ago
Ben Woodhead
67007c80de
Created a move to trash option
...
asdf
removed breadcrumbs for a test
setback to default
playing with the menu
playing with the menu
playing with the menu
playing with the menu
playing with the menu
cleanup
Removed ALL limits on collections
remove testing line
13 years ago
Nigel Banks
e57a0f9a81
Opps!
13 years ago
Nigel Banks
eb2e765e78
Added a function for forgetting a object when memory constraints apply.
13 years ago
jonathangreen
b195d45b1e
Cleanup some TRUE that should be true
...
When you do a repository search in Fedora_Item the URL it creates
requires that the boolean be true. This got changed to TRUE in the
code cleanup. Changed this back.
13 years ago
Ben Woodhead
9c43f2dce7
Added a check_plain to getMessage and changed !e to @e
13 years ago
Ben Woodhead
58ceada875
Coding standard cleanup
13 years ago
Ben Woodhead
27d9520519
Swiched back to fedora_repository
13 years ago