Bug: Parent List Broken if Dashes Included in Topic Name (of a parent)
If a topic includes a dash, e.g. "How-toDocuments", the parents list doesn't create a link to this topic, because "WebName.How-toDocuments" doesn't get recognized as a topic (it's not quite proper camelback notation).
Not being extremely familiar with TWiki, I'd guess experts may choose to eliminate the possibility of dashes in topic names, just as spaces are automatically eliminated ([[How To]] generates a "HowTo" topic), but I've made a quick fix for myself, in TWiki.pm:
1463c1463
< $text = "[[$pWeb.$pTopic][$pTopic]]$sep$text";
---
> $text = "$pWeb.$pTopic$sep$text";
This fixes my problem.
Test case
Environment
| TWiki version: |
01 Dec 2001 |
| TWiki plugins: |
None, KoalaSkin, CalendarPlugin |
| Server OS: |
OpenBSD 3.0 |
| Web server: |
Apache 1.3.19 |
| Perl version: |
5.6.1 |
| Client OS: |
Mac OS X, Windows 2KAS |
| Web Browser: |
IE 5 on Mac, IE 6 on Windows |
--
FredMannby - 19 Jun 2002
Follow up
The quick fix you listed is probably the other way around.
This has been fixed and is a duplicate of
NonWikiWordTopicsNotLinkedInParentListing.
--
PeterThoeny - 20 Jun 2002