[Gforge-devel] [gforge-Patches][2530] Bad interaction between
power-query and quick browse for custom status
gforge-patches at gforge.org
gforge-patches at gforge.org
Mon Jun 5 06:04:02 EDT 2006
Patches item #2530, was opened at 05/06/2006 12:04
You can respond by visiting:
http://gforge.org/tracker/?func=detail&atid=106&aid=2530&group_id=1
Or by replying to this e-mail entering your response between the following markers:
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+
(enter your response here)
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+
Status: Open
Priority: 3
Submitted By: Yann Dirson (ydirson)
Assigned to: Nobody (None)
Summary: Bad interaction between power-query and quick browse for custom status
Category: Tracker
Group: None
Resolution: None
Written For: v4.5.6
Initial Comment:
As mentionned in https://gforge.org/forum/message.php?msg_id=10488&group_id=1 there is also a collision of custom status between power query and quick browse.
Here is the patch we use since that time:
diff -u -r1.4 ArtifactFactory.class
--- common/tracker/ArtifactFactory.class 22 Feb 2006 17:41:15 -0000 1.4
+++ common/tracker/ArtifactFactory.class 27 Apr 2006 14:39:33 -0000
@@ -269,8 +276,10 @@
if (is_array($vals[$i]) && !empty($vals[$i])) {
$vals[$i]=implode(',',$vals[$i]);
}
- $ef_table_str.=", artifact_extra_field_data aefd$i ";
- $ef_where_str.=" AND aefd$i.extra_field_id='".$keys[$i]."' AND aefd$i.field_data IN (".$vals[$i].") AND aefd$i.artifact_id=artifact_vw.artifact_id ";
+ if ($vals[$i] != 'Array') {
+ $ef_table_str.=", artifact_extra_field_data aefd$i ";
+ $ef_where_str.=" AND aefd$i.extra_field_id='".$keys[$i]."' AND aefd$i.field_data IN (".$vals[$i].") AND aefd$i.artifact_id=artifact_vw.artifact_id ";
+ }
}
} else {
$ef_table_str='';
----------------------------------------------------------------------
You can respond by visiting:
http://gforge.org/tracker/?func=detail&atid=106&aid=2530&group_id=1
More information about the Gforge-devel
mailing list