Defect #3161

wrong "self" and "alternate" links in issues feed

Added by Ве Fio over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:2009-04-12
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Feeds
Target version:0.8.4
Resolution:Fixed Affected version:

Description

In the Atom feed for a project's issues, <link rel="self"> points to the issues HTML page, and <link rel="alternate"> points to the homepage of the Redmine instance.

When I add the issues feed as a Firefox bookmark, the "alternate" link is displayed as Open "myproject: Tickets" in the context menu. When I click on it, I expect the Issues page to open, but what I get is Redmine's welcome page which is not so helpful.

Per the Atom spec, "self" should be the address of the Atom feed itself and "alternate" should be a link to an alternate version, in this case the HTML version.

Atom spec - The rel attribute

1. The value "alternate" signifies that the IRI in the value of the href attribute identifies an alternate version of the resource described by the containing element.

3. The value "self" signifies that the IRI in the value of the href attribute identifies a resource equivalent to the containing element.

Associated revisions

Revision 2697
Added by Jean-Philippe Lang over 8 years ago

Fixes self and alternate atom links (#3161).

History

#1 Updated by Ве Fio over 8 years ago

To clarify, it's Open "myproject: Issues", "Tickets" is the German version. And by context menu I mean the context menu of the feed in the bookmarks toolbar, where the "alternate" link is displayed last under the list of current feed entries.

#2 Updated by Jean-Philippe Lang over 8 years ago

  • Category set to Feeds
  • Status changed from New to Resolved
  • Target version set to 0.8.4
  • Resolution set to Fixed

Fixed in r2697.

#3 Updated by Jean-Philippe Lang over 8 years ago

  • Status changed from Resolved to Closed

Merged in 0.8-stable in r2746.

Also available in: Atom PDF