Bug(バグ) #1818
Warning in ApplicationUserSettingForm::save() while saving data type of "BOOL"
Start date:
2010-11-30
Due date:
% Done:
100%
3.6 で発生するか:
Yes
[QA]バグ通知済:
No
3.8 で発生するか:
Unknown (未調査)
Description
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.
Related issues
Associated revisions
fixed ApplicationUserSettingForm to change form type when data type is "BOOL" (fixes #1818)
History
#1 Updated by Anonymous about 13 years ago
- Status changed from New(新規) to Pending Review(レビュー待ち)
- % Done changed from 0 to 50
更新履歴 ebc8d5936edded202e011954fb7678c2082c8c97 で適用されました。
#2
Updated by Shogo Kawahara about 13 years ago
- Status changed from Pending Review(レビュー待ち) to Fixed(完了)
- % Done changed from 50 to 100