Defect #1355

trac importer error in convert_wiki_text

Added by Christoph Koehler over 14 years ago. Updated over 14 years ago.

Status:NewStart date:2008-06-02
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:


Target version:-
Resolution: Affected version:0.7.1


When passing the description of a ticket to this method at line 360, the method parses the description wrongly for tickets. This is the text that was set as description:
<a href= >myspace image uploader</a> [url=]myspace image uploader[/url] 1297564108

On line 251, $1 had the value of 970999997, which passed the if condition and tried to stick it into the index of TICKET_MAP, which aborted the rake task with error "index too big"

The solution in this case was setting the if to test for length < 9 instead of 10, but a change in the algorithm may be required.

Hope that info helped.


#1 Updated by Christoph Koehler over 14 years ago

  • Assignee set to Jean-Philippe Lang

Also available in: Atom PDF