Edgewall Software
Modify

Ticket #7164 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

[PATCH] No alternate links should appear if no page or report exists

Reported by: Dave Gynn <dgynn@…> Owned by: cboos
Priority: normal Milestone: 0.11.1
Component: wiki system Version: devel
Severity: minor Keywords:
Cc:
Release Notes:
API Changes:

Description

The altlinks for the content converters should not be added when a wiki page does not exist or when the user is looking at the available reports list. The attached patch checks for page.exists and id != -1 respectively.

Attachments

altlinks-removed.diff (2.0 KB) - added by Dave Gynn <dgynn@…> 4 years ago.

Download all attachments as: .zip

Change History

Changed 4 years ago by Dave Gynn <dgynn@…>

comment:1 Changed 4 years ago by cboos

Ok for the empty wiki page, but why for the report list? It's just the report of the reports, i.e. a report in itself and you might want to get it in other formats.

comment:2 Changed 4 years ago by Dave Gynn <dgynn@…>

I'm neutral on the reports list. The fact the report list is implemented as a report isn't relevant to the user. The report list page seems more like navigation than a report. Being able to get a CSV export of report titles seemed more like an unintended side-effect than a feature.

comment:3 Changed 4 years ago by cboos

  • Component changed from general to wiki system
  • Milestone set to 0.11.1
  • Owner changed from jonas to cboos
  • Severity changed from normal to minor

comment:4 Changed 4 years ago by cboos

  • Resolution set to fixed
  • Status changed from new to closed

Ok, fine, I've committed the full patch in r7396. Thanks!

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cboos. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.