[evolvis-commits] r18234: upstream pending merges:↵ Roland Mas 2012-04-05 Fixed over-enthusiastic optimization: there may be default values to set to ex...

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Apr 5 17:45:08 CEST 2012


Author: mirabilos
Date: 2012-04-05 17:45:03 +0200 (Thu, 05 Apr 2012)
New Revision: 18234

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/common/tracker/Artifact.class.php
   trunk/gforge_base/evolvisforge-5.1/src/debian/changelog
Log:
upstream pending merges:
  Roland Mas 2012-04-05 Fixed over-enthusiastic optimization: there may be default values to set to ex...


Modified: trunk/gforge_base/evolvisforge-5.1/src/common/tracker/Artifact.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/tracker/Artifact.class.php	2012-04-05 15:44:19 UTC (rev 18233)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/tracker/Artifact.class.php	2012-04-05 15:45:03 UTC (rev 18234)
@@ -1208,15 +1208,16 @@
 				skip it and continue to next item
 
 */
-		if (empty($extra_fields)) {
-			return true;
-		}
 		$update = false;
 
 		//get a list of extra fields for this artifact_type
 		$ef = $this->ArtifactType->getExtraFields();
 		$efk=array_keys($ef);
 
+		if (empty($extra_fields) && empty($ef)) {
+			return true;
+		}
+
 		// If there is a status field, then check against the workflow.
 		for ($i=0; $i<count($efk); $i++) {
 			$efid=$efk[$i];

Modified: trunk/gforge_base/evolvisforge-5.1/src/debian/changelog
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/debian/changelog	2012-04-05 15:44:19 UTC (rev 18233)
+++ trunk/gforge_base/evolvisforge-5.1/src/debian/changelog	2012-04-05 15:45:03 UTC (rev 18234)
@@ -1,3 +1,10 @@
+fusionforge (5.1.1+evolvis51) xunstable; urgency=low
+
+  [ Roland Mas ]
+  * [#2957] Fix custom fields not being initialised on move across trackers
+
+ -- Thorsten Glaser <t.glaser at tarent.de>  Thu, 05 Apr 2012 15:08:35 +0200
+
 fusionforge (5.1.1+evolvis50) unstable; urgency=low
 
   [ Julien Heyman ]



More information about the evolvis-commits mailing list