Home Bug Reports

slice2html bad summary links to external modules

jrrayjrray Member J Robert RayOrganization: ImageworksProject: cutlist server
Given this ice file:
module Test1 {
  interface Demo {};
};

module Test2 {
  interface Demo2 {
    /**
     * Summary mentioning [::Test1::Demo].
     *
     * @return [::Test1::Demo]
     **/
    ::Test1::Demo* demo();
  };
};

The generated html in Demo2/Test2.html has bad relative links in the "Operation Index" section:
Summary mentioning <a class="Symbol" href="Test1/Demo.html">::Test1::Demo</a>

Which ends up linking to a non-existent Test2/Test1/Demo.html.

The links generated elsewhere are correct with a leading "..".

slice2html version 3.3.0.

Comments

  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    Thanks for the bug report! This problem is also present in 3.3.1.

    I'll have a look at this.

    Cheers,

    Michi.
  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    I have posted a patch for this.

    Thanks again for the bug report!

    Cheers,

    Michi.
  • jrrayjrray Member J Robert RayOrganization: ImageworksProject: cutlist server
    Great, thanks!
Sign In or Register to comment.