Project

General

Profile

Backport(バックポート) #1825

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

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

Status:
Fixed(完了)
Priority:
Normal(通常)
Assignee:
-
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 b68c5e33 (diff)
Added by Shogo Kawahara over 10 years ago

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

History

#1 Updated by Shogo Kawahara about 11 years ago

  • Assignee deleted (Shogo Kawahara)

#2 Updated by Shogo Kawahara over 10 years ago

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

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

#3 Updated by Shogo Kawahara over 10 years ago

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

Also available in: Atom PDF