View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004865 | mantisbt | custom fields | public | 2004-11-15 08:59 | 2004-12-11 03:01 |
| Reporter | nicr | Assigned To | grangeway | ||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.19.1 | ||||
| Fixed in Version | 0.19.2 | ||||
| Summary | 0004865: Email address custom fields not displayed correctly when viewing an issue | ||||
| Description | When viewing an issue, email address custom fields are hyperlinked to mailto that address when clicked. However, the code to generate the mailto HTML seems to occur in two places resulting in a broken URL. Something like: <a href="mailto:<a href="mailto:test@some.domain.com target="_new">test@some.domain.com</a>"><a href="mailto:test@some.domain.com" target="_new">test@some.domain.com</a></a> It seems that a possible fix is to simply remove the CUSTOM_FIELD_TYPE_EMAIL switch entry from the string_custom_field_value() definition in core/custom_field_api.php However, i am not sure whether this 'fix' breaks anything elsewhere (seems to work for me, though). | ||||
| Tags | No tags attached. | ||||
|
Just looking through my mantis configuration and this maybe important: $g_html_make_links is set to ON (which is the default). |
|
|
Hi nicr/DGtlRift, I believe i've now fixed this issue in CVS: --- custom_field_api.php 16 Sep 2004 16:48:53 -0000 1.42
Feel free to apply the diff above, and see if this resolves the issue for you. Paul |
|