Project

General

Profile

Actions

Defect #15235

closed

Wiki Pages REST API with version returns wrong comments

Added by Yukinari TOYOTA about 11 years ago. Updated about 11 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

Also available in: Atom PDF