プロジェクト

全般

プロフィール

Vote #74554

完了

Wiki Pages REST API with version returns wrong comments

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
REST API_32
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
32
version_id:
74
issue_org_id:
15235
author_id:
88432
assigned_to_id:
1
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
73
ステータス-->[Closed]

説明

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

see below:

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

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.


journals

--------------------------------------------------------------------------------
Fix committed, thanks for pointing this out.
--------------------------------------------------------------------------------
Merged.
--------------------------------------------------------------------------------

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0