Hi Martin,

Would you mind filing the bug in our Jira? And as you seem to have spotted
the problem already, perhaps you'd have fun making a fork on GitHub and
providing a pull request with a test and a fix?

That would definetly increase the chances of fixing getting it fixed ;-).

Cheers,
Andreas


Am Mittwoch, 12. März 2014 schrieb Martin Egge :

> Hi,
>
> I'm using the Maven Surefire Report Plugin to view my jasmine test results
> (generated with Jasmine Maven Plugin) as HTML. The generated HTML-Pages
> look quite good in different browsers but the links on failed tests don't
> work at all.
>
> The XML containing the jasmine results has whitespace and special chars in
> the names of the testcases. Theses names are not allowed for HTML-Ids, so
> the names have to be modified before using them as ids/targets for
> anchors/links in the generated HTML.
>
> This is only done halfway. The anchors have a modified id. Because the
> SurefireReportGenerator.java uses sink.anchor() to generate the anchor
> tags. That function uses DoxiaUtils.encodeId() to encode any illegal
> character. But the link targets are wrong. SurefireReportGenerator.java
> uses it's own function toHtmlId() which does not implement the same logic
> as DoxiaUtils.encodeId().
>
>
> Regards,
> Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org <javascript:;>
> For additional commands, e-mail: users-h...@maven.apache.org<javascript:;>
>
>

Reply via email to