Project

General

Profile

Backport(バックポート) #1820

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

Added by Shogo Kawahara over 11 years ago. Updated over 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 3af9d2e6 (diff)
Added by Shogo Kawahara over 11 years ago

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

History

#1 Updated by Shogo Kawahara over 11 years ago

  • Target version changed from 1.3.1 to 1.2.2

#2 Updated by Anonymous over 11 years ago

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

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

#3 Updated by Shogo Kawahara over 11 years ago

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

Also available in: Atom PDF