Project

General

Profile

Backport(バックポート) #3448

opFormItemGenerator の trim 指定の参照要素名が間違っている

Added by Youichi Kimura about 10 years ago. Updated about 10 years ago.

Status:
Fixed(完了)
Priority:
Normal(通常)
Target version:
Start date:
2011-05-16
Due date:
% Done:

100%


Description

Overview (現象)

trim の設定が IsRequired の設定になっている。

Causes (原因)

IsRequired を指定しているが、恐らくこの指定は間違っている。

$option = array('required' => $field['IsRequired'], 'trim' => $field['IsRequired']);

Way to fix (修正内容)

$field['IsTrim'] に修正し、
トリムが必要な項目については「IsTrim: true」を追加する。
(ただし、ガジェットのyml設定については修正範囲が大きいため対応しません)


Related issues

Related to OpenPNE 3 - Bug(バグ) #2104: opFormItemGenerator の trim 指定の参照要素名が間違っている Fixed(完了) 2011-05-16

Associated revisions

Revision ef5197c5 (diff)
Added by Masato Nagasawa about 10 years ago

fixed "IsTrim" option (fixes #3448, BP from #2104)

(cherry picked from commit 9a9d99dd054733b5a296a0885bb4ff605f7d06a9)

History

#1 Updated by Masato Nagasawa about 10 years ago

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

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

#2 Updated by Mutsumi Imamura about 10 years ago

  • Assignee set to Youichi Kimura

#3 Updated by Shinichi Urabe about 10 years ago

  • Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
  • % Done changed from 50 to 70

レビューOKです

#4 Updated by Mutsumi Imamura about 10 years ago

  • Status changed from Pending Testing(テスト待ち) to Fixed(完了)
  • % Done changed from 70 to 100

動作確認OKです。

Also available in: Atom PDF