Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium Milestone-Release-1.1

New issue 1872 by [email protected]: Creator field isn't being hidden when is empy in edit description screens
http://code.google.com/p/qubit-toolkit/issues/detail?id=1872

To reproduce this error:
========================
1) Open an ISAD/RAD/DC/MODS description without creators


Resulting error:
================
In the context panel, Creator field is empty.


Expected result:
================
Creator field should be hidden.

Solution:
================
(solution not applyed because 1.1 code freeze)
1. Load blank.js, or
2. This patch:

Index: creatorComponent.class.php
===================================================================
--- creatorComponent.class.php  (revision 8741)
+++ creatorComponent.class.php  (working copy)
@@ -25,8 +25,10 @@
     {
       if (0 < count($this->ancestor->getCreators()))
       {
-        break;
+        return;
       }
     }
+
+    return sfView::NONE;
   }
 }


--
You received this message because you are subscribed to the Google Groups "Qubit 
Toolkit Issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-issues?hl=en.

Reply via email to