Project

General

Profile

Bug(バグ) #932

Fatal error will occur when the community category is empty in the community edit. (コミュニティ編集でカテゴリ欄を空欄にするとFatal Errorが発生する)

Added by Mutsumi Imamura over 14 years ago. Updated about 14 years ago.

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

100%

3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)

Description

現象

コミュニティ編集でカテゴリ欄をWebDeveloperなどを使い空欄しsubmitするとFatal Errorが発生する

再現環境

  • OpenPNE3.2.4-dev
  • OpenPNE3.4.2-dev
  • OpenPNE3.0.7-dev

原因

修正内容


Related issues

Related to OpenPNE 3 - Backport(バックポート) #970: Fatal error will occur when the community category is empty in the community edit. (コミュニティ編集でカテゴリ欄を空欄にするとFatal Errorが発生する) Fixed(完了) 2010-04-06
Related to OpenPNE 3 - Backport(バックポート) #971: Fatal error will occur when the community category is empty in the community edit. (コミュニティ編集でカテゴリ欄を空欄にするとFatal Errorが発生する) Fixed(完了) 2010-04-06

Associated revisions

Revision 78f846ec (diff)
Added by Masato Nagasawa about 14 years ago

fixed fatal error to happen in the community edit page when community category was empty. (fixes #932)

History

#1 Updated by Mutsumi Imamura over 14 years ago

( ! ) Fatal error: Call to a member function getIsAllowMemberCommunity() on a non-object in /home/xxx/sns/32x.xxx.xxx.xxx.jp/lib/form/doctrine/CommunityForm.class.php on line 74
Call Stack
#    Time    Memory    Function    Location
1    0.0003    56012    {main}( )    ../pc_frontend_dev.php:0
2    1.5263    11751660    sfContext->dispatch( )    ../pc_frontend_dev.php:14
3    1.5264    11751660    sfFrontWebController->dispatch( )    ../sfContext.class.php:159
4    1.5268    11756592    sfController->forward( )    ../sfFrontWebController.class.php:48
5    1.5523    11907540    sfFilterChain->execute( )    ../sfController.class.php:245
6    1.5536    11918712    sfRenderingFilter->execute( )    ../sfFilterChain.class.php:53
7    1.5536    11918712    sfFilterChain->execute( )    ../sfRenderingFilter.class.php:33
8    1.5549    11924264    opCacheControlFilter->execute( )    ../sfFilterChain.class.php:53
9    1.5549    11924264    sfFilterChain->execute( )    ../opCacheControlFilter.class.php:27
10    1.5562    11931248    opCheckEnabledApplicationFilter->execute( )    ../sfFilterChain.class.php:53
11    1.5573    11934976    sfFilterChain->execute( )    ../opCheckEnabledApplicationFilter.class.php:39
12    1.5587    11943924    opAppendXRDSHeaderFilter->execute( )    ../sfFilterChain.class.php:53
13    1.5587    11943924    sfFilterChain->execute( )    ../opAppendXRDSHeaderFilter.class.php:29
14    1.5602    11951996    sfBasicSecurityFilter->execute( )    ../sfFilterChain.class.php:53
15    1.5605    11951996    sfFilterChain->execute( )    ../sfBasicSecurityFilter.class.php:62
16    1.5622    11960824    opEmojiFilter->execute( )    ../sfFilterChain.class.php:53
17    1.5622    11960824    sfFilterChain->execute( )    ../opEmojiFilter.class.php:29
18    1.5639    11970000    sfCommonFilter->execute( )    ../sfFilterChain.class.php:53
19    1.5639    11970000    sfFilterChain->execute( )    ../sfCommonFilter.class.php:29
20    1.5657    11979808    sfExecutionFilter->execute( )    ../sfFilterChain.class.php:53
21    1.5659    11980072    sfOpenPNEExecutionFilter->handleAction( )    ../sfExecutionFilter.class.php:42
22    1.5668    11981024    sfExecutionFilter->handleAction( )    ../sfOpenPNEExecutionFilter.class.php:62
23    1.5669    11981024    sfExecutionFilter->executeAction( )    ../sfExecutionFilter.class.php:76
24    1.6337    12160660    sfActions->execute( )    ../sfExecutionFilter.class.php:90
25    1.6357    12169472    communityActions->executeEdit( )    ../sfActions.class.php:60
26    1.6358    12169472    sfOpenPNECommunityAction->executeEdit( )    ../actions.class.php:28
27    2.0762    14248728    sfForm->bind( )    ../sfOpenPNECommunityAction.class.php:84
28    2.0763    14248728    sfValidatorSchema->clean( )    ../sfForm.class.php:226
29    2.0763    14248728    sfValidatorSchema->doClean( )    ../sfValidatorSchema.class.php:90
30    2.1257    14467456    sfValidatorSchema->postClean( )    ../sfValidatorSchema.class.php:186
31    2.1257    14467456    sfValidatorBase->clean( )    ../sfValidatorSchema.class.php:246
32    2.1257    14467456    sfValidatorAnd->doClean( )    ../sfValidatorBase.class.php:309
33    2.1501    14508560    sfValidatorBase->clean( )    ../sfValidatorAnd.class.php:110
34    2.1501    14508560    sfValidatorCallback->doClean( )    ../sfValidatorBase.class.php:309
35    2.1502    14508560    call_user_func ( )    ../sfValidatorCallback.class.php:47
36    2.1502    14508560    CommunityForm->checkCreatable( )    ../sfValidatorCallback.class.php:0

#2 Updated by Masato Nagasawa about 14 years ago

  • Subject changed from コミュニティ編集でカテゴリ欄を空欄にするとFatal Errorが発生する to Fatal error will occur when the community category is empty in the community edit. (コミュニティ編集でカテゴリ欄を空欄にするとFatal Errorが発生する)
  • Status changed from New(新規) to Accepted(着手)
  • Assignee set to Masato Nagasawa
  • Target version set to OpenPNE 3.5.2

#3 Updated by Masato Nagasawa about 14 years ago

  • Status changed from Accepted(着手) to Pending Review(レビュー待ち)
  • % Done changed from 0 to 50

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

#4 Updated by Kousuke Ebihara about 14 years ago

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

#5 Updated by Kiwa Sakai about 14 years ago

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

Also available in: Atom PDF