Opened 12 years ago
Closed 12 years ago
#3696 closed defect (fixed)
選択肢のない選択式プロフィール項目を作成すると、フロントエンドのプロフィール編集と管理画面のメンバー管理で500エラー
Reported by: | ShogoKawahara | Owned by: | ShogoKawahara |
---|---|---|---|
Priority: | minor | Milestone: | OpenPNE3.0.3 |
Component: | core | Version: | 3.0.x |
Keywords: | Cc: |
Description (last modified by )
現象
選択肢のない選択式プロフィール項目を作成すると、以下の画面で500エラー
- index.php/member/editProfile
- pc_backend.php/member
原因
dev環境で確認すると、以下のメッセージが表示される。
500 | Internal Server Error | RuntimeException sfWidgetFormSelectRadio requires the following options: 'choices'. stack trace * at () in SF_SYMFONY_LIB_DIR/widget/sfWidget.class.php line 49 ... 46. // check required options 47. if ($diff = array_diff($this->requiredOptions, array_merge(array_keys($this->options), array_keys($options)))) 48. { 49. throw new RuntimeException(sprintf('%s requires the following options: \'%s\'.', get_class($this), implode('\', \'', $diff))); 50. } 51. 52. $this->options = array_merge($this->options, $options); ...
解決策
Change History (4)
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Status: | new → assigned |
comment:2 Changed 12 years ago by
Milestone: | OpenPNE3.0.2 → OpenPNE3.0.3 |
---|---|
Priority: | major → minor |
comment:3 Changed 12 years ago by
Type: | enhancement → defect |
---|
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
r10966
で修正しました。