From: Lynette R. <el...@cs...> - 2008-08-27 03:47:06
|
Hi Keith, It doesn't appear that the problem you are seeing is related to the Versioning code that I pushed to Fez. If you are unable to determine the source of the problem, I will have to pass you back to the Fez User community for more help. Best of Luck, Lynette ________________________________ From: Lynette Rayle Sent: Tuesday, August 26, 2008 11:40 PM To: 'Keith Maull' Subject: [Fez-users] HOT ISSUE : Records not updating? I traced this in our production system, which is an older revision of Fez. It works differently now and I wasn't able to trace that because our non-production system which has the latest Fez is the one that is down. But based on the trace of the older Fez, I determined your problem is most likely related to some work that occurred in Rev 1788. Take a look at the notes for file workflow/edit_metadata.tpl.html for Rev 1788. I suspect that your problem may be related to the requirement... ** Workflows.xml must be re-imported ** FYI, this is how it used to work... Update() is called from popup.php. Look for code... case 'update_form': { $id = $_REQUEST['id']; $wfstatus = WorkflowStatusStatic::getSession($id); // restores WorkflowStatus object from the session $pid = $wfstatus->pid; $res = Record::update($pid, array("FezACML"), array("")); $tpl->assign("update_form_result", $res); $wfstatus->checkStateChange(true); break; } The 'update_form' value is set in templates/en/workflow/edit_metadata.tpl.html in line... <input type="hidden" name="cat" value="update_form"> It goes to popup.php based on the following line in templates/en/workflow/workflow.tpl.html {if $submit_to_popup} <form name="wfl_form1" onsubmit="javascript:return (checkFormSubmission(this, 'validateForm') && updateForm());" target="_popup_window" action="{$rel_url}popup.php" method="POST" enctype="multipart/form-data"> This is set in workflow/edit_metadata.php at line... $tpl->assign("submit_to_popup", true); NOTE: This line is now commented out based on Rev 1788. ________________________________ From: fez...@li... [mailto:fez...@li...] On Behalf Of Keith Maull Sent: Tuesday, August 26, 2008 12:25 PM To: fez...@li... Subject: [Fez-users] HOT ISSUE : Records not updating? Importance: High TRUNK 1966 / Fedora 2.2.1 Has anyone seen this kind of behavior? 1) Cannot seem to update a record once it is in the repo. 2) Cannot seem to change a collection's document type. 3) Cannot seem to change a collection or document's relationship to the parent community or collection, respectively. In general update seems to be broken. Insert once and delete, however, work just fine. I seem to have been stuck with this issue since the beginning of the month when I reported that RELS-EXT was not updating ... apparently that's not all that's not updating. I took a quick look late last week into the code, but haven't really had time to dedicate a focused pursuit of the evil within ... others elsewhere must be seeing this behavior .... Direct API access OFF! See the screencast here : http://screencast.com/t/J5csGcwe0 When API access is turned ON here is the error : Couldn't get DC on coalliance:1475 /www/dev/fez_svn_uq_trunk/include/class.xsd_display.php 1089 Backtrace: Error_Handler->logError"Couldn't get DC on coalliance:1475", "/www/dev/fez_svn_uq_trunk/include/class.xsd_display.php", 1089 /www/dev/fez_svn_uq_trunk/include/class.xsd_display.php:1089 XSD_DisplayObject->processXSDMF"coalliance:1475", Null /www/dev/fez_svn_uq_trunk/include/class.xsd_display.php:939 XSD_DisplayObject->getXSDMF_Values"coalliance:1475", Null /www/dev/fez_svn_uq_trunk/include/class.record.php:3705 RecordGeneral->getDetails /www/dev/fez_svn_uq_trunk/include/class.record.php:3302 RecordGeneral->getPublishedStatus /www/dev/fez_svn_uq_trunk/view2.php:190 include_once"/www/dev/fez_svn_uq_trunk/view2.php" /www/dev/fez_svn_uq_trunk/view.php:55 Screencast is here : http://screencast.com/t/23SpFbmG9 Everything was working just fine until I updated earlier this month. Also there don't appear to be any usual messages or errors in either the Fedora or Fez log other than those noted. K:M |