From 9398153efce1f0d32cfcc29363caf0a6aeb98520 Mon Sep 17 00:00:00 2001 From: "ghendricks%novell.com" <> Date: Thu, 5 Feb 2009 18:40:13 +0000 Subject: Bug 476678 - Rich clients unable to update bugs need security token included in bug xml patch by ghendricks@novell.com r=LpSolit a=LpSolit --- importxml.pl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'importxml.pl') diff --git a/importxml.pl b/importxml.pl index 08bf06c93..a141d5e16 100755 --- a/importxml.pl +++ b/importxml.pl @@ -470,6 +470,11 @@ sub process_bug { # append it to the log, which will go into the comments when we are done. foreach my $bugchild ( $bug->children() ) { Debug( "Parsing field: " . $bugchild->name, DEBUG_LEVEL ); + + # Skip the token if one is included. We don't want it included in + # the comments, and it is not used by the importer. + next if $bugchild->name eq 'token'; + if ( defined $all_fields{ $bugchild->name } ) { my @values = $bug->children_text($bugchild->name); if (scalar @values > 1) { -- cgit v1.2.3-24-g4f1b