Roadmap milestone link bug

137
Defect
arturo182
Jack
2.0
0.4
Roadmap
Fixed
Normal
Normal
7 years ago
3 years ago
0

Description

There's a bug in line 18 of templates\Traq2\roadmap.php, it's: <h2><a href="<?=$uri->anchor($project['slug'],'milestone-'.$milestone['milestone'])?>"><?=l('milestone')?>: <em><?=$milestone['milestone']?><?=(!empty($milestone['codename']) ? ' <small>"'.$milestone['codename'].'"</small>' : '')?></em></a></h2>

and the bug is that the anchor is created in the form of 'milestone-'.$milestone['milestone'] and it should be 'milestone-'.$milestone['slug']

Also there's no error if I go to a nonexistent milestone like milestone-qwerty, it's just an empty milestone page.

Ticket History

7 years and 6 months ago by Jack

  • Closed ticket as Fixed

Thanks for reporting this. I've gone ahead and fixed this.