Hi Conor, I’ve been spending the past 24 hours working on cloning of doc types. I ended up repurposing an existing, unused document type, rather than a cloned version. Have just now finished!


I did follow the previous listserv thread, Subject: XSD HTML Matching Editor, clearing out all xsdmf_id values at both the FOXML and the FOXML-MODS-OAI-DC levels. But each time when saving a newly-created document, I received a similar error to yours; mine was “Fatal error: Call to a member function getTitle() on a non-object…”. I also tried exporting a similar doc type, clearing out the xsdmf_id values and then reimporting. Still no go.


Sorry, no help to you.



From: McTernan, Conor [mailto:mcternan@unu.edu]
Sent: Friday, 22 June 2012 1:16 PM
To: fez-users@lists.sourceforge.net
Subject: [Fez-users] unable to add cloned documents to collection


I am having a problem cloning an object and then adding documents based on this object to a collection. I am following the cloning guide on the wiki and also re-associating the objects (FOXML, MODS, OAI-DC). When I attempt to create the document I get the following error:


Fatal error: Call to a member function getXSD_HTML_Match() on a non-object in /home/www/fez/public/include/class.record_general.php on line 373


This error will only occur when adding documents using the cloned object type. If I use the pre-existing object types there are no problems.


Are there any known issues with creating docs based on custom XSD’s?