プロジェクト

全般

プロフィール

Bug(バグ) #754

opValidatorDate with max or min throw exception if the value is not array (opValidatorDateで配列を利用しないときにmax/minを設定しても例外を投げない)

Shogo Kawahara約14年前に追加. 約14年前に更新.

ステータス:
Fixed(完了)
優先度:
Normal(通常)
担当者:
対象バージョン:
開始日:
2010-02-25
期日:
2010-03-04
進捗率:

100%

3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)

説明

Overview (概要)

opValidatorDate with max or min throw exception if the value is not array (opValidatorDateで配列を利用しないときにmax/minを設定しても例外を投げない)

Cause (原因)

opValidatorDate::convertDateArrayToDateTime() でmax/minの判定を行っているため、配列のみでしか有効になりません。

Environment

  • OpenPNE3.2.x
  • OpenPNE3.4.x
  • OpenPNE3.5.x

Way to fix (修正内容)

-


関連するチケット

関連している OpenPNE 3 - Bug(バグ) #633: opValidatorDate with date_time option don't return time correctly. (opValidatorDateをwith_timeオプション付きで使用したとき時刻が違う値になる) Fixed(完了) 2010-02-13 2010-03-04
関連している OpenPNE 3 - Backport(バックポート) #755: opValidatorDate with max or min throw exception if the value is not array (opValidatorDateで配列を利用しないときにmax/minを設定しても例外を投げない) Fixed(完了) 2010-02-25
関連している OpenPNE 3 - Backport(バックポート) #758: opValidatorDate with max or min throw exception if the value is not array (opValidatorDateで配列を利用しないときにmax/minを設定しても例外を投げない) Fixed(完了) 2010-02-25
関連している OpenPNE 3 - Backport(バックポート) #756: opValidatorDate with max or min throw exception if the value is not array (opValidatorDateで配列を利用しないときにmax/minを設定しても例外を投げない) Fixed(完了) 2010-02-25

関係しているリビジョン

リビジョン 3738d300 (差分)
Shogo Kawahara約14年前に追加

fixed opValidatorDate with max/min option doesn't throw exception if the value is not array (fixes #754)

履歴

#1 Shogo Kawahara約14年前に更新

  • ステータスNew(新規) から Pending Review(レビュー待ち) に変更
  • 進捗率0 から 50 に変更

更新履歴commit:"3738d300a59cabc7df76459f045e9e3da01f5451"で適用されました。

#2 Shogo Kawahara約14年前に更新

  • 担当者Shogo Kawahara にセット

#3 Kousuke Ebihara約14年前に更新

  • ステータスPending Review(レビュー待ち) から Pending Testing(テスト待ち) に変更

#4 Mutsumi Imamura約14年前に更新

  • 期日2010-03-04 にセット
  • ステータスPending Testing(テスト待ち) から Fixed(完了) に変更
  • 進捗率50 から 100 に変更

2010/03/04現在、このコードが未使用なことと、ユニットテストがOKということなので動作テストは特に行いません。
念のため、競合していないか確認で日付プロフィールの最小値~最大値の機能を確認しましたが、特に問題はありません。

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