florath / rmtoo

Free and Open Source Requirements Management TooL
http://rmtoo.florath.net
Other
207 stars 59 forks source link

Broken link in html output of template project #7

Closed chrta closed 7 years ago

chrta commented 7 years ago

I am running rmtoo in fedora 25 in virtualenv. When i build the template project in contrib/template_project with make, the document artifacts/html/ReqsDocument.html contains a broken link:

<a href="What's all about.html">WhatsAbout</a>

This should be the other way around. The generated html file for this topic is named WhatsAbout.html

Revision: 01af4aec6e08bb5b44e88257ab0baf840fe55325

florath commented 7 years ago

Thanks for the bug report. Background: instead of the id the name was used in the link. This will be included in the next release.

chrta commented 7 years ago

But shouldn't also be the What's all about or subtopic.get_topic_name()the text of the link?

florath commented 7 years ago

Yes - you are right. The fix is only for the link which is a real bug: currently the displayed text is not as nice as it could be, but it should at least work. During the initial fix of this bug I recognized that there is no test for html output and also no test for the template project itself. So I'll need to do some things here which take some time...