#191 — Topic listing contains broken links to indvidual topics (keywords)
| State | Resolved |
|---|---|
| Version: | 1.7 |
| Area | User interface |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Jan Hackel |
| Submitted on | May 04, 2009 |
| Responsible | Jan Hackel |
| Target release: | 1.7 |
Last modified on
May 04, 2009
by
Jan Hackel
The topic_listing view should list all the topics (keywords) used by a blog. The links generated lack the "topic" infix, i.e. are broken.
- Steps to reproduce:
- - Create a blog, publish a post with a a keyword set.
- Click the tag cloud portlet's heading or append @@topic_listing to the blog's URL. The topic listing will appear.
- click a topic
Added byJan HackelonMay 04, 2009 11:14 AM
This turns out to be a nasty one. The 'topic_listing' view silently assumes to be in the virtual 'topics' container of the weblog. It renders URLs relative to it's context. Normally this is something like 'http://nohost/plone/weblog/topics/aTopic'. When this view is applied to a weblog -- which is perfectly legal as a weblog is a ITopicContainer -- the view will break.Issue state:
Unconfirmed
→
Confirmed
This ill behavior applies to the author and archive view as well. With the latter this is not apparent as it has no traversal prefix set.
I think the most sensible solution would be to ask the absolute URL from the topic. There is no such method defined, though.
Added byJan HackelonMay 04, 2009 01:01 PM
Test and fix now at rev. 85392 (http://dev.plone.org/collective/changeset/85392).
Issue state:
Confirmed
→
Resolved
No responses can be added.
If you can, please log in before submitting a reaction.