View Issue Details

IDProjectCategoryView StatusLast Update
1023RackTablesdefaultpublic2013-12-05 11:09
ReporterJim Duff Assigned Toinfrastation  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version0.20.5 
Target Version0.20.6Fixed in Version0.20.6 
Summary1023: Default object field to allow http link to anything
DescriptionIt'd be nice to have a default field for each object that allows you to input a URI and associated anchor text. This anchor text as a link would then appear on the view tab of the object.

This would be exceptionally useful to allow you to link to wiki pages for example.
Steps To ReproduceN/A feature request
TagsNo tags attached.

Relationships

related to 1103 closedinfrastation BUG: detect_urls = yes => all text is interpreted as url, instead of only urls are detected as urls 

Activities

infrastation

infrastation

2013-10-03 12:38

administrator   ~0001797

RackTables detects URLs in text attributes of an object and the comment field (when the DETECT_URLS option is set to "yes"). In addition to that, it is possible to put an URL with an anchor into a text attribute using the following syntax:

[ some text | http://some.url/page.html ]

Let me know if that doesn't solve the task.
Jim Duff

Jim Duff

2013-10-04 03:12

reporter   ~0001801

Last edited: 2013-10-04 03:14

DETECT_URLS is set to yes.

Placing http://server/wiki/index.php/objectname in the comments field only creates a link like:

http://server/wiki/index.php/objectname

but only the "index.php/objectname" is turned into a link, with the href attribute set to the same value.

By "text attribute" I assume you mean type = string?

Nothing I place in a string attribute gets turned into a clickable link.

Am I missing something?

Jim Duff

Jim Duff

2013-10-04 03:36

reporter   ~0001803

Ah after looking at the PHP, the URL detection code requires dots in the host name. Still can't get anything to appear in a string attribute though...
infrastation

infrastation

2013-10-04 07:16

administrator   ~0001805

I could be wrong about the string attribute. Let me reproduce and see.
infrastation

infrastation

2013-10-04 07:58

administrator   ~0001807

Last edited: 2013-10-04 07:58

You are right about the dot, the next release will include the bugfix.

To put a clickable text into a "string" attribute, use the following syntax (in the previous example I wrote it wrong):

[[ abc | http://def/ghi.html ]]

Thank you for troubleshooting this issue.

infrastation

infrastation

2013-12-05 11:09

administrator   ~0002013

Unfortunately, I took the bugfix wrong in 0.20.6 (see 1103), 0.20.7 should have it finished.

Issue History

Date Modified Username Field Change
2013-10-03 07:05 Jim Duff New Issue
2013-10-03 12:38 infrastation Note Added: 0001797
2013-10-04 03:12 Jim Duff Note Added: 0001801
2013-10-04 03:13 Jim Duff Note Edited: 0001801
2013-10-04 03:14 Jim Duff Note Edited: 0001801
2013-10-04 03:36 Jim Duff Note Added: 0001803
2013-10-04 07:16 infrastation Note Added: 0001805
2013-10-04 07:17 infrastation Assigned To => infrastation
2013-10-04 07:17 infrastation Status new => assigned
2013-10-04 07:58 infrastation Note Added: 0001807
2013-10-04 07:58 infrastation Status assigned => closed
2013-10-04 07:58 infrastation Resolution open => fixed
2013-10-04 07:58 infrastation Fixed in Version => 0.20.6
2013-10-04 07:58 infrastation Target Version => 0.20.6
2013-10-04 07:58 infrastation Note Edited: 0001807
2013-12-03 20:16 infrastation Relationship added related to 1103
2013-12-05 11:09 infrastation Note Added: 0002013