Bug(バグ) #754
opValidatorDate with max or min throw exception if the value is not array (opValidatorDateで配列を利用しないときにmax/minを設定しても例外を投げない)
Start date:
2010-02-25
Due date:
2010-03-04
% Done:
100%
3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)
Description
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 (修正内容)¶
-
Related issues
Associated revisions
fixed opValidatorDate with max/min option doesn't throw exception if the value is not array (fixes #754)
History
#1
Updated by Shogo Kawahara about 12 years ago
- Status changed from New(新規) to Pending Review(レビュー待ち)
- % Done changed from 0 to 50
更新履歴commit:"3738d300a59cabc7df76459f045e9e3da01f5451"で適用されました。
#2
Updated by Shogo Kawahara about 12 years ago
- Assignee set to Shogo Kawahara
#3
Updated by Kousuke Ebihara about 12 years ago
- Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
#4
Updated by Mutsumi Imamura about 12 years ago
- Due date set to 2010-03-04
- Status changed from Pending Testing(テスト待ち) to Fixed(完了)
- % Done changed from 50 to 100
2010/03/04現在、このコードが未使用なことと、ユニットテストがOKということなので動作テストは特に行いません。
念のため、競合していないか確認で日付プロフィールの最小値~最大値の機能を確認しましたが、特に問題はありません。