When trying what happens when I send a line like:
status 1: assigned open user
and found out that:
status is set to "assigned"
and
resolution is set to "open user"
Looks like we could use this for the assigned and duplicate state.
I've attatched a patch that puts the "open" part of the above string
into the resolution variable and the "user" part in a variable called
additional.
When the space where "user" is in the above string is empty,
additional just stays empty.
What do you think? would this be a solution?
diff -ur ori/system/src/lib/product/Daemon/Process.pm.in
dev/system/src/lib/product/Daemon/Process.pm.in
--- ori/system/src/lib/product/Daemon/Process.pm.in 2007-07-12
13:17:05.000000000 +0200
+++ dev/system/src/lib/product/Daemon/Process.pm.in 2007-07-12
13:43:36.000000000 +0200
@@ -192,8 +192,12 @@
$request->{ resolution_ids } ->{ $resolution_id }->{ status } =
$line;
$resolutions_state_counter = 2;
} elsif ( $resolutions_state_counter == 2) {
- $request->{ resolution_ids } ->{ $resolution_id }->{ resolution } =
$line;
- $resolutions_state_counter = 0;
+ my ($resolution, $additional) = split (' ', $line);
+
+ $request->{ resolution_ids } ->{ $resolution_id }->{ resolution } =
$resolution;
+ $request->{ resolution_ids } ->{ $resolution_id }->{ additional } =
$additional;
+
+ $resolutions_state_counter = 0;
}
}
}
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users