Code Review - wrong line displayed
Added by Ivan Cenov over 14 years ago
Hello,
There is wrong behavior in CodeReview Plugin. Here are reproduction steps of the bug:- Click on 'Repository' tab to enter repository.
- Select a file (I selected a .c file). Click on 'Preview' to show contents of the file (with line number to the left)
- Click 'Add review'. Pencils appear at each line.
- Select some line (I selected #50). I Code preview window appears next to the line, but its title is not "Line: 50" (right) but "Line: 73" (wrong). The difference is +23. This displacement is not the same. Sometimes, I find +29 or +30 displacement.
There is not such bad behavior when making code review of diffs:
My system is:
Redmine 1.0.3 (Code Review 0.3.1) -->
mongrel-1.1.5-x86-mingw32, mongrel_service-0.3.4-x86-mswin32 -->
Apache 2.2.16 with SubVersion 1.6.13
Regards
Ivan