Defect #24190
closed<a> tag with attribute href="tel: in description results in undefined method + for nil:NilClass
0%
Description
Observed Behavior
Create new issue with description "<a href="*tel:*3453454353">234234</a>" (href to tel with or without slashes)
ActionView::Template::Error (undefined method `+' for nil:NilClass):
2:
3: <%= render_email_issue_attributes(issue, users.first, true) >
4:
5: <= textilizable(issue, :description, :only_path => false) >
6:
7: < if issue.attachments.any? >
8: <fieldset class="attachments"><legend><= l(:label_attachment_plural) %></legend>
app/helpers/application_helper.rb:873:in `block in parse_redmine_links'
app/helpers/application_helper.rb:742:in `gsub!'
app/helpers/application_helper.rb:742:in `parse_redmine_links'
app/helpers/application_helper.rb:584:in `block (2 levels) in textilizable'
app/helpers/application_helper.rb:583:in `each'
app/helpers/application_helper.rb:583:in `block in textilizable'
app/helpers/application_helper.rb:604:in `parse_non_pre_blocks'
app/helpers/application_helper.rb:582:in `textilizable'
Redmine 3.1.
I try to replace function parse_redmine_links in file application_helper.rb from last in GIT (it's changes after issue #19304), but it's not help.
Updated by Alex Lorvi over 8 years ago
Simple note:
Check sample for test is:
"<a href="tel:3453454353">234234</a>"
*Start was for bolding error place ))
Updated by Toshi MARUYAMA over 8 years ago
- Category set to Text formatting
- Status changed from New to Closed
- Resolution set to Invalid
Redmine 3.1 is not maintained and I cannot reproduce on 3.3.1.