Project

General

Profile

Actions

Defect #23833

closed

Unhandled exception on custom fields with mailto URL

Added by Jake Kemme about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

When attempting to create a custom field that creates a mailto: hyperlink

when clicking save:


Files

customfielderror.png (34.5 KB) customfielderror.png Jake Kemme, 2016-09-13 21:26
customfield.png (20 KB) customfield.png Jake Kemme, 2016-09-13 21:29
mailto.png (25.7 KB) mailto.png Toshi MARUYAMA, 2016-09-14 06:28
Actions #1

Updated by Toshi MARUYAMA about 8 years ago

I cannot reproduce.

Please see submissions.

Actions #2

Updated by Jake Kemme about 8 years ago

The unhandled exception was due to a bug in ruby 2.2 in versions < 2.2.5 p284 (Issue 10738) The unhandled part was resolved by updating ruby to the latest 2.2.5 patch.

However, ruby URI.parse does not consider mailto: addresses invalid. The bug is that mailto:%value% is not in the form mailto: (a valid email address). However, there is no other option to display clickable email addresses as a custom field. The validation here on the URL field should not apply, due to value being valid replacement syntax.

Actions #3

Updated by Toshi MARUYAMA about 8 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid

Jake Kemme wrote:

The unhandled exception was due to a bug in ruby 2.2 in versions < 2.2.5 p284 (Issue 10738) The unhandled part was resolved by updating ruby to the latest 2.2.5 patch.

Thank you for your feedback.

However, ruby URI.parse does not consider mailto: addresses invalid. The bug is that mailto:%value% is not in the form mailto: (a valid email address). However, there is no other option to display clickable email addresses as a custom field. The validation here on the URL field should not apply, due to value being valid replacement syntax.

Please create new issue.

Actions

Also available in: Atom PDF