View Issue Details

IDProjectCategoryView StatusLast Update
435RackTablesdefaultpublic2011-07-24 07:16
Reporteruser228Assigned Toinfrastation  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.19.4 
Target Version0.19.7Fixed in Version0.19.7 
Summary435: Feature "wikilinks" isn't working anymore
DescriptionI upgraded from 18.6 to 19.4 and now the 'wikilinks feature' (provide URLs in Wikistyle (https://sourceforge.net/apps/mediawiki/racktables/index.php?title=RackTablesDevelGuide#wikilinks)) isn't working anymore.

TagsNo tags attached.

Activities

user228

2011-07-05 09:02

  ~0000354

still the same in 0.19.6

user228

2011-07-16 00:35

  ~0000371

The bug is in the function formatAttributeValue() in the file inc/interface.php.

The first return
  return $record['a_value'];
should be
  return isset($record['href']) ? "<a href=\"".$record['href']."\">${record['a_value']}</a>" : $record['a_value'];


This also fixes the intended result of the function: " if (! isset ($record['key'])) // if record is a dictionary value, generate href with autotag in cfe" :-)
infrastation

infrastation

2011-07-24 07:16

administrator   ~0000380

Your fix is applied and will be visible in release 0.19.7. Thank you!

Issue History

Date Modified Username Field Change
2011-06-14 12:27 user228 New Issue
2011-07-05 09:02 user228 Note Added: 0000354
2011-07-16 00:35 user228 Note Added: 0000371
2011-07-24 07:16 infrastation Note Added: 0000380
2011-07-24 07:16 infrastation Assigned To => infrastation
2011-07-24 07:16 infrastation Status new => closed
2011-07-24 07:16 infrastation Resolution open => fixed
2011-07-24 07:16 infrastation Fixed in Version => 0.19.7
2011-07-24 07:16 infrastation Target Version => 0.19.7