Using Codestriker 1.9.10 with SVN 1.6.  Patches are typically created using 
TortoiseSVN 1.6.2 (right click, generate patch).

Most of the time this works but we have some Topics that the full file content 
is blank when you do a Parallel view.  This failure occurs regardless of 
browser.

The Apache log shows the following error for this request:

[Tue Feb 28 11:27:37 2012] [error] [client 10.13.36.124] [Tue Feb 28 11:27:37 
2012] codestriker.pl: Use of uninitialized value in concatenation (.) or string 
at /var/www/codestriker/lib/Codestriker/Action/ViewTopicFile.pm line 113., 
referer: 
http://aontools/codestriker/codestriker.pl?action=view&topic=2687633&mode=2&fview=0

The code in question is:

        # Output those lines leading up to the start of the next delta.
        # Build up a delta with no changes, and render it.
        my $next_delta_linenumber = $delta->{old_linenumber};
        for (my $i = $old_linenumber; $i < $next_delta_linenumber; $i++) {
            $delta_text .= " $filedata[$i]\n";
            $old_linenumber++;

with the failure occurring at the delta_text concatenation (I.e. $filedata[$i] 
is uninitialized).

Any ideas on how to fix or work around this?

Tx,

Chris Welch



------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Codestriker-user mailing list
Codestriker-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/codestriker-user

Reply via email to