Hi all, has anyone found their internal links broken when viewing an
html report via the web dashboard?

I have generated a Data Dictionary for a Database build. The first
section is a list of tables, with hyperlinks to the table detail
sections further down the page - "jump links" or "internal links" as
you might know them.

When I view the file standalone via the file system (copied to the
state folder via <file action="copy"> ) all is Ok.

<a href=#OneOfTheTables">17. OneOfTheTables</a>

and, corresponding:-

<a name="#OneOfTheTables"></a>

Similarly, "Return to Top of Page" links.

The link to the initial view of the html report is:-

http://build-sql/ccnet/server/BUILD-SQL/project/DevTest-Product-DB-Release/build/log20110505142944Lbuild.DevTest-Product-DB-Release-6.3.7.13.xml/RetrieveBuildFile.aspx?file=Product_DataDictionary.html

When this is rendered in the browser via the web dashboard the links
look like this:-

http://build-sql/ccnet/server/BUILD-SQL/project/DevTest-Product-DB-Release/build/log20110505142944Lbuild.DevTest-Product-DB-Release-6.3.7.13.xml/RetrieveBuildFile.aspx?file=#ConnectionType

Where #ConnectionType is the jump link. The html filename is missing.

If I manually edit the URL so that Product_DataDictionary.html is
prior to the # then this works correctly:-

http://build-sql/ccnet/server/BUILD-SQL/project/DevTest-Product-DB-Release/build/log20110505142944Lbuild.DevTest-Product-DB-Release-6.3.7.13.xml/RetrieveBuildFile.aspx?file=Product_DataDictionary.html#ConnectionType

I suspect this is a bug. I can't think of a way to correct my links -
possibly other than including the file name in the links

eg., <a
href="Product_DataDictionary.html#ConnectionType">OneOfTheTables</a> -
I'll have to try this.

Anyone with any suggestions? I'll have to look into the code...

thanks

Andy

Reply via email to