Bug(バグ) #1818
Warning in ApplicationUserSettingForm::save() while saving data type of "BOOL"
開始日:
2010-11-30
期日:
進捗率:
100%
3.6 で発生するか:
Yes
[QA]バグ通知済:
いいえ
3.8 で発生するか:
Unknown (未調査)
説明
Overview¶
Warning in ApplicationUserSettingForm::save() while saving data type of "BOOL".
PHP Warning: strlen() expects parameter 1 to be string, array given in /home/kawahara/dev/OpenPNE3_6/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/database/sfDoctrineConnectionProfiler.class.php on line 198
Causes¶
When data type is "BOOL", form field is checkbox.
Therefor, validated value is Array.
Way to fix¶
I'll change form field to radio button.
関連するチケット
関係しているリビジョン
fixed ApplicationUserSettingForm to change form type when data type is "BOOL" (fixes #1818)
履歴
#1 匿名ユーザー が13年以上前に更新
- ステータス を New(新規) から Pending Review(レビュー待ち) に変更
- 進捗率 を 0 から 50 に変更
更新履歴 ebc8d5936edded202e011954fb7678c2082c8c97 で適用されました。
#2 Shogo Kawahara が13年以上前に更新
- ステータス を Pending Review(レビュー待ち) から Fixed(完了) に変更
- 進捗率 を 50 から 100 に変更