プロジェクト

全般

プロフィール

Vote #77830

完了

No validation error when date value is invalid in time entries filter

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

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

0%

予定工数:
category_id:
13
version_id:
119
issue_org_id:
23912
author_id:
49110
assigned_to_id:
1
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
110
ステータス-->[Closed]

説明

For example if I go to @http://example.com/projects/my_project/time_entries@ and
choose date between real dates by using datepicker then it shows correct data.
But once I enter or change any date to fake one, like from 2016-09-01 to 2016-09-010 no matter for start or end date's field then it shows total time from the very beginning of the project.

Expected behavior: wrong date message.


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I cannot reproduce on the current trunk (r16578). If I use the following query:
<pre>
utf8=✓&set_filter=1&sort=spent_on:desc&f[]=spent_on&op[spent_on]==&v[spent_on][]=2016-09-010&f[]=&c[]=spent_on&c[]=user&c[]=activity&c[]=issue&c[]=comments&c[]=hours&group_by=&t[]=hours&t[]=
</pre>
I receive the error "Date is invalid" (screenshot attached).
--------------------------------------------------------------------------------
Considering that the issue reproduces on Redmine version:3.3.3, but not in the current trunk, I think that we can mark this defect as fixed in version:3.4.0.
--------------------------------------------------------------------------------
It seems to be fixed in r15649. "Date is invalid" error is displayed as expected.
--------------------------------------------------------------------------------
Marius BALTEANU wrote:

> I receive the error "Date is invalid" (screenshot attached).

Indeed, but all the time entries are displayed below this message. It's fixed in r16635 (no results displayed when query is invalid)
--------------------------------------------------------------------------------
Thanks!
--------------------------------------------------------------------------------

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

  • カテゴリTime tracking_13 にセット
  • 対象バージョン3.4.0_119 にセット

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

いいね!0
いいね!0