Project

General

Profile

Bug(バグ) #1818

Warning in ApplicationUserSettingForm::save() while saving data type of "BOOL"

Added by Shogo Kawahara about 12 years ago. Updated about 12 years ago.

Status:
Fixed(完了)
Priority:
Normal(通常)
Target version:
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

Related to opOpenSocialPlugin - Backport(バックポート) #1820: Warning in ApplicationUserSettingForm::save() while saving data type of "BOOL" Fixed(完了) 2010-11-30
Related to opOpenSocialPlugin - Backport(バックポート) #1824: Warning in ApplicationUserSettingForm::save() while saving data type of "BOOL" Fixed(完了) 2010-11-30
Related to opOpenSocialPlugin - Backport(バックポート) #1825: Warning in ApplicationUserSettingForm::save() while saving data type of "BOOL" Fixed(完了) 2010-11-30

Associated revisions

Revision ebc8d593 (diff)
Added by Shogo Kawahara about 12 years ago

fixed ApplicationUserSettingForm to change form type when data type is "BOOL" (fixes #1818)

History

#1 Updated by Anonymous about 12 years ago

  • Status changed from New(新規) to Pending Review(レビュー待ち)
  • % Done changed from 0 to 50

更新履歴 ebc8d5936edded202e011954fb7678c2082c8c97 で適用されました。

#2 Updated by Shogo Kawahara about 12 years ago

  • Status changed from Pending Review(レビュー待ち) to Fixed(完了)
  • % Done changed from 50 to 100

Also available in: Atom PDF