[otrs-cvs] ImportExport/Kernel/System ImportExport.pm, 1.42, 1.42.2.1

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/ImportExport/Kernel/System
In directory lancelot:/tmp/cvs-serv3998/Kernel/System

Modified Files:
      Tag: rel-3_1
	ImportExport.pm 
Log Message:
Enhanced interface to show a summary after importing.

Author: ub

Index: ImportExport.pm
===================================================================
RCS file: /home/cvs/ImportExport/Kernel/System/ImportExport.pm,v
retrieving revision 1.42
retrieving revision 1.42.2.1
diff -2 -u -d -r1.42 -r1.42.2.1
--- ImportExport.pm	20 Nov 2012 19:09:36 -0000	1.42
+++ ImportExport.pm	30 Nov 2012 13:27:44 -0000	1.42.2.1
@@ -2227,4 +2227,9 @@
 
         if ( !$ID ) {
+
+            # count DuplicateName entries as errors
+            if ( $RetCode =~ m{ \A DuplicateName }xms ) {
+                $Result{RetCode}->{$RetCode}++;
+            }
             $Result{Failed}++;
         }
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.