Project

General

Profile

Actions

Defect #3161

closed

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

Added by Ве Fio almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Feeds
Target version:
Start date:
2009-04-12
Due date:
% Done:

0%

Estimated time:
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.

Actions #1

Updated by Ве Fio almost 15 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.

Actions #2

Updated by Jean-Philippe Lang almost 15 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.

Actions #3

Updated by Jean-Philippe Lang almost 15 years ago

  • Status changed from Resolved to Closed

Merged in 0.8-stable in r2746.

Actions

Also available in: Atom PDF