Project

General

Profile

Backport(バックポート) #1824

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

Added by Shogo Kawahara over 11 years ago. Updated about 11 years ago.

Status:
Fixed(完了)
Priority:
Normal(通常)
Target version:
Start date:
2010-11-30
Due date:
% Done:

100%


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 - Bug(バグ) #1818: Warning in ApplicationUserSettingForm::save() while saving data type of "BOOL" Fixed(完了) 2010-11-30

Associated revisions

Revision 0fa670f0 (diff)
Added by Shogo Kawahara about 11 years ago

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

History

#1 Updated by Shogo Kawahara over 11 years ago

  • Assignee deleted (Shogo Kawahara)

#2 Updated by Shogo Kawahara about 11 years ago

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

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

#3 Updated by Shogo Kawahara about 11 years ago

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

Also available in: Atom PDF