プロジェクト

全般

プロフィール

Vote #73431

未完了

Invalid field values result in deletion of field value

Admin Redmine さんがほぼ4年前に追加. ほぼ4年前に更新.

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

0%

予定工数:
category_id:
32
version_id:
0
issue_org_id:
13269
author_id:
72968
assigned_to_id:
0
comments:
0
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
68
ステータス-->[New]

説明

Technology stack:
(Bitnami with Redmine 2.2.3-0-ubuntu-12.04 in VMWare Player)

Environment:
Redmine version 2.2.3.stable
Ruby version 1.9.3 (x86_64-linux)
Rails version 3.2.12
Environment production
Database adapter Mysql2
Redmine plugins:
no plugin installed

Using REST API (XML) with curl

Description:
For some fields, invalid values can be submitted. These values are not ignored, rather the current field value is deleted. For example:

Field "start_date":
If a year of more than 9999 is submitted (for example, "10000-01-01", the journal entry suggests that the date was updated. However, it was actually deleted.

Fields "Category_id, fixed_version_id, assigned_to_id, done_ratio", also applies to custom fields (boolean):
If a value of "a" is submitted, the current value is DELETED or reset to the default value. For example, when submitting "a", done_ratio is set to 0

Expected result:
Invalid values should not result in the fact that old values are deleted or reset. An error message should be thrown.

Admin Redmine さんがほぼ4年前に更新

  • カテゴリREST API_32 にセット

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

いいね!0
いいね!0