プロジェクト

全般

プロフィール

Vote #73429

未完了

No error message for invalid field values

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

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

0%

予定工数:
category_id:
32
version_id:
0
issue_org_id:
13267
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:
When sending invalid data, there is no indication of an error message for the following fields. No entry in the issue history is made and the application continues to work as expected.

1) project_id
2) tracker_id
3) priority_id

The following error cases were observed:

  • Unknown project IDs don't trigger error messages. Example: "5", where no project with ID 5 exists
  • Invalid integer does not trigger error message. Example: "gg"
  • Accepts value "1a" and parses it to 1
  • Empty values (for example, "" do not trigger error message)

Expected result:
Error message, e.g. "unparsable entity"

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

いいね!0
いいね!0