Vote #65055
完了wrong "self" and "alternate" links in issues feed
0%
説明
In the Atom feed for a project's issues, points to the issues HTML page, and
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":http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rfc.section.4.2.7.2.p.3
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.
The value "self" signifies that the IRI in the value of the href attribute identifies a resource equivalent to the containing element.
journals
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.
--------------------------------------------------------------------------------
Fixed in r2697.
--------------------------------------------------------------------------------
Merged in 0.8-stable in r2746.
--------------------------------------------------------------------------------