Project

General

Profile

Actions

Defect #15235

closed

Wiki Pages REST API with version returns wrong comments

Added by Yukinari TOYOTA over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
REST API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When I requested an old version wiki-page using REST API with version, Redmine respond contents with wrong comments.

see below:

  1. http://www.redmine.org/projects/redmine/wiki/Logo/24.json
  2. http://www.redmine.org/projects/redmine/wiki/Logo/24

24.json should have "comments": "Adds license details" but it returns "Spam squashing"

I attached a patch for app/views/wiki/show.api.rsb with additional tests.


Files

Actions #1

Updated by Etienne Massip over 10 years ago

  • Target version set to 2.3.4
Actions #2

Updated by Jean-Philippe Lang over 10 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Fix committed, thanks for pointing this out.

Actions #3

Updated by Jean-Philippe Lang over 10 years ago

  • Status changed from Resolved to Closed

Merged.

Actions

Also available in: Atom PDF