Bug(バグ) #800
It will become an error if a string is inputted into the input column of the minimum maximum of the date profile. (日付プロフィールの最小最大値の入力欄に文字列を入力するとエラーになる)
開始日:
2010-03-04
期日:
進捗率:
100%
3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)
説明
現象¶
管理画面のプロフィール項目設定画面で、日付のプロフィールの最小値と最大値の入力欄に文字列を入力するとエラーが発生する。
具体的にいうと、最小~最大値の入力フォームに「aaaaaa」と入力しプロフィール追加、または変更ボタンを押すと
現在、サーバが混み合っているか、メンテナンス中です。 ご迷惑をおかけいたしますが、しばらく時間を空けて再度アクセスしてください。
の画面になる。
再現環境¶
- OpenPNE3.5.0-dev
- Firefox3.5.7
再現手順¶
- 管理画面のプロフィール設定画面にアクセスする
- 日付型のプロフィールを作成する
- 日付型プロフィールの最小~最大値の入力フォームに「aaaaaa」と入力する
原因¶
修正内容¶
関連するチケット
関係しているリビジョン
fixed error if a string is inputted into the input column of the minimum maximum of the date profile. (refs #800)
fixed deleted a Exception handling code. (fixes #800)
履歴
#1 Mutsumi Imamura が約14年前に更新
- 題名 を 日付プロフィールの最小最大値の入力欄にバリデーションが足りない から 日付プロフィールの最小最大値の入力欄に文字列を入力するとエラーになる に変更
#2 Yuki Yamashita が約14年前に更新
OpenPNE 3.5.1-dev にて再現できました。
報告の通りに入力すると、エラーが表示されます。
以下Apacheのエラーログです。
[Wed Mar 17 18:25:07 2010] [error] [client xxx.xxx.xxx.xxx] DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: Failed to parse time string (aaaa) at position 0 (a): The timezone could not be found in the database, referer: http://OPENPNE/pc_backend.php/profile/edit
#3 Masato Nagasawa が約14年前に更新
- 題名 を 日付プロフィールの最小最大値の入力欄に文字列を入力するとエラーになる から It will become an error if a string is inputted into the input column of the minimum maximum of the date profile. (日付プロフィールの最小最大値の入力欄に文字列を入力するとエラーになる) に変更
#4 Masato Nagasawa が約14年前に更新
- ステータス を New(新規) から Pending Review(レビュー待ち) に変更
- 進捗率 を 0 から 50 に変更
更新履歴 62ed4cb4f2335bba5440adbd26aa568f8c54329e で適用されました。
#5 Masato Nagasawa が約14年前に更新
- 担当者 を Masato Nagasawa にセット
#6 Kousuke Ebihara がほぼ14年前に更新
- 対象バージョン を OpenPNE 3.6beta1 にセット
#7 Shogo Kawahara がほぼ14年前に更新
- ステータス を Pending Review(レビュー待ち) から Pending Testing(テスト待ち) に変更
- 進捗率 を 50 から 70 に変更
#8 Kousuke Ebihara がほぼ14年前に更新
- ステータス を Pending Testing(テスト待ち) から Fixed(完了) に変更
- 進捗率 を 70 から 100 に変更