Bug 24107 - Падение при просмотре разницы между версиями кода в хранилище
Summary: Падение при просмотре разницы между версиями кода в хранилище
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: redmine (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on: 24379
Blocks:
  Show dependency tree
 
Reported: 2010-09-19 01:59 MSD by Denis Yagofarov
Modified: 2015-04-08 16:58 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Yagofarov 2010-09-19 01:59:13 MSD
При просмотре разницы между версиями исходного кода, происходит сбой.

Пример ссылки:
http://myserver/projects/my-proj/repository/diff/classifier/Classifier/myCode.sh?rev=11&rev_to=7

Лог сбоя:

ActionView::TemplateError (invalid byte sequence in UTF-8) on line #1 of app/views/common/_diff.rhtml:
1: <% diff = Redmine::UnifiedDiff.new(diff, :type => diff_type, :max_lines => Setting.diff_max_lines_displayed.to_i) -%>
2: <% diff.each do |table_file| -%>
3: <div class="autoscroll">
4: <% if diff_type == 'sbs' -%>

    lib/redmine/unified_diff.rb:74:in `add_line'
    lib/redmine/unified_diff.rb:30:in `block in initialize'
    lib/redmine/unified_diff.rb:29:in `each'
    lib/redmine/unified_diff.rb:29:in `initialize'
    app/views/common/_diff.rhtml:1:in `new'
    app/views/common/_diff.rhtml:1:in `_run_rhtml_app47views47common47_diff46rhtml_locals_diff_diff_type_object'
    /usr/share/ruby/vendor_ruby/1.9/action_view/renderable.rb:34:in `block in render'
    /usr/share/ruby/vendor_ruby/1.9/action_view/base.rb:306:in `with_template'
    /usr/share/ruby/vendor_ruby/1.9/action_view/renderable.rb:30:in `render'
    /usr/share/ruby/vendor_ruby/1.9/action_view/renderable_partial.rb:20:in `block in render'
    /usr/share/ruby/vendor_ruby/1.9/action_controller/benchmarking.rb:30:in `benchmark'
    /usr/share/ruby/vendor_ruby/1.9/action_view/renderable_partial.rb:19:in `render'
    /usr/share/ruby/vendor_ruby/1.9/action_view/template.rb:205:in `render_template'
    /usr/share/ruby/vendor_ruby/1.9/action_view/renderable_partial.rb:44:in `render_partial'
    /usr/share/ruby/vendor_ruby/1.9/action_view/partials.rb:184:in `render_partial'
    /usr/share/ruby/vendor_ruby/1.9/action_view/base.rb:267:in `render'
*** Если нужен остальной стек - напишите ***
Comment 1 Michael Shigorin 2015-04-08 16:58:07 MSK
redmine в сизифе больше нет.