Notice: this is a static mirror for historical purposes.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
231Source Integration[All Projects] Generalpublic2011-10-17 04:562011-10-17 04:56
Reporterxmorales 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Product Version0.16 
Target VersionFixed in Version 
Summary231: Import fails when log message has duplicated Mantis ID with diferent format
DescriptionImport fails when log message has duplicated Mantis ID with diferent format, like Issue #001111 and #1111.

The problem is on function Source_Parse_Buglinks( $p_string ) on Source.API.php:

                foreach ( $t_matches[1] as $t_match ) {
                        if ( 0 < (int)$t_match ) {
                                $t_bugs[$t_match] = true;
                        }
                }

With this change works:
                foreach ( $t_matches[1] as $t_match ) {
                        if ( 0 < (int)$t_match ) {
                                $t_bugs[(int)$t_match] = true;
                        }
                }

Maybe has to be modified on some other places like Source_Parse_Bugfixes
Steps To ReproduceParse this text:

Merging changes resolving issues #001234 and #1234
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-10-17 04:56 xmorales New Issue


Copyright © 2000 - 2012 MantisBT Group
Time: 0.1324 seconds.
memory usage: 8,319 KB
Powered by Mantis Bugtracker

hosted with
Linode