Anonymous | Login | Signup for a new account | 2012-09-13 19:33 PDT |
Main | Blog | My View | View Issues | Change Log | Roadmap | IRC Chat | Repositories | Scrum Board |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
231 | Source Integration | [All Projects] General | public | 2011-10-17 04:56 | 2011-10-17 04:56 | ||||||
Reporter | xmorales | ||||||||||
Assigned To | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||
Status | new | Resolution | open | ||||||||
Product Version | 0.16 | ||||||||||
Target Version | Fixed in Version | ||||||||||
Summary | 231: Import fails when log message has duplicated Mantis ID with diferent format | ||||||||||
Description | Import 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 Reproduce | Parse this text: Merging changes resolving issues #001234 and #1234 | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
![]() |
|||
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 |