Description

Bug?? If you search e.g. in attachments and search finds something there, the link in search results points directly to the file. If you click on the link, download of the file starts directly. This behaviour might be acceptable for title searches. However if you do a text search, I would have expected that clicking on the search result takes me to the item's page where it is tried to be displayed by Moin (instead of downloading the file).

Describe the bug...

Steps to reproduce

  1. Try to search something where you know this texts appears in a py-attachment. e.g. "Generate PDF document using HTMLDOC os stat"
  2. Hit "text search"
  3. Click on a search result which points to py attachment file
  4. This will start downloading the file (instead of redirecting you to the item's page).

Example

Component selection

Details

this wiki

Workaround

Discussion

Yes, it should link to the page where the attachment is shown/rendered (that is not the page where it is attached to).

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/1.8SearchResultsLinkToFileDirectlyAndNotToItem'sPage (last edited 2008-09-29 19:40:23 by ThomasWaldmann)