Overview:
the main source of failure in the form of Error 500 is related to UTF8 encoding implementation and how it handles special characters which are heavily present in the french language. That specific error happens at the ActionView view level trying to handle and then display data that are sent in json. This issue happens with the following scenarios of utilization when special characters are involved: - Displaying the file tree of a Branch - Displaying the commit list of the branch - Displaying the network of a branch - Displaying the the graph of a branch - Displaying the compare new merge request page Displaying File Tree: When trying to displying the file tree of a branch that has contains special characters. Processing by Projects::RefsController#logs_tree as JS Parameters: {"_"=>"1422632454051", "project_id"=>"apis/api-exposure-layer", "id"=>"master"} Completed 500 Internal Server Error in 325ms ActionView::Template::Error (invalid byte sequence in UTF-8): 1: %span.str-truncated 2: %span.tree_author= commit_author_link(commit, avatar: true, size: 16) 3: = link_to_gfm commit.title, project_commit_path(@project, commit.id), class: "tree-commit-link" This seems to suggest that the (invalid byte sequence in UTF-8) is located Displaying the commit list of the branch: When trying to displying the commit list of a branch that has contains special characters. Completed 500 Internal Server Error in 233ms ActionView::Template::Error (invalid byte sequence in UTF-8): 26: = preserve(gfm(escape_once(commit.description))) 27: 28: .commit-row-info 29: = commit_author_link(commit, avatar: true, size: 16) 30: .committed_ago 31: #{time_ago_with_tooltip(commit.committed_date)} Displaying the network of a branch When trying to displying the network of a branch that has contains special characters. Completed 500 Internal Server Error in 2003ms ActionView::Template::Error (source sequence is illegal/malformed utf-8): app/views/projects/network/show.json.erb:22:in `_app_views_projects_network_show_json_erb__4224933065517375966_111137440' Displaying the graph of a branch When trying to displying the graph of a branch that has contains special characters. Completed 500 Internal Server Error in 163ms JSON::GeneratorError (source sequence is illegal/malformed utf-8): app/controllers/projects/graphs_controller.rb:37:in `fetch_graph' app/controllers/projects/graphs_controller.rb:10:in `block (2 levels) in show' app/controllers/projects/graphs_controller.rb:7:in `show' Displaying compare branches in merge request Completed 500 Internal Server Error in 220ms ActionView::Template::Error (invalid byte sequence in UTF-8): 26: = preserve(gfm(escape_once(commit.description))) 27: 28: .commit-row-info 29: = commit_author_link(commit, avatar: true, size: 16) 30: .committed_ago 31: #{time_ago_with_tooltip(commit.committed_date)} -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/76dbe0eb-081c-4719-803e-b1d9de681b71%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.