Hello,

I am relatively new to Fedora and am having an issue that I hope someone else 
has experienced and solved :)

I am working with php and the php soapclient to first write the FOXML and then 
ingest "managed" files into Fedora 3.5.

First a little backstory so that everyone knows what I have done so far.

I have collections of "bags"  built with BagItPHP which creates a manifest file 
which lists the files and their MD5 checksums

When I ingest the files without addressing the checksum at all it works fine, 
also when I ingest and allow Fedora to calculate the checksum it works fine too.

It is when I try prepopulating the FOXML with the checksum that I have problems,

I keep getting the following error:

ingest failed
PHP Fatal error:  soapenv:Server.userException, 
org.fcrepo.server.errors.ObjectIntegrityException: FOXML IO stream was bad : 
Checksum Mismatch: ExceptionReadingStream

I checked the checksum in the manifest against the one calculated by Fedora and 
it matched, I also, independent of this script, generated an MD5 checksum for 
each file and checked that against both the one in the manifest and the one 
calculated by Fedora, again I had a match...so I am fairly confident the 
checksum itself is valid.

I did multiple searches and found that this was considered a bug but was fixed 
for Fedora 3.3 & 3.4 (no mention was made of 3.5, but I was hoping that the fix 
was carried forward) .  Is there something that needs to be "patched" before 
the fix is in effect?  Or is this a new bug that has to be fixed separately for 
3.5?


Any help or pointers will be greatly appreciated.
Thanks!
/Minnie Rangel
Software developer
University of Texas at Austin - Library Systems



Here is a stanza in the FOXML for one datastream:

<foxml:datastream CONTROL_GROUP="M" ID="txu-oclc-21059338.mp4.mediainfo.xml_0" 
STATE="A"
                VERSIONABLE="true">
                <foxml:datastreamVersion 
ID="txu-oclc-21059338.mp4.mediainfo.xml_1"
                                LABEL="txu-oclc-21059338.mp4.mediainfo" 
MIMETYPE="application/xml">
                                <foxml:contentDigest TYPE="MD5" 
DIGEST="25963bb14b563cf82fbf52abc83619c5"/>
                                <foxml:contentLocation
                                                
REF="file:/data/txu-oclc-21059338.mp4.mediainfo.xml"
                                                TYPE="URL"/>
                </foxml:datastreamVersion>
</foxml:datastream>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to