Yii Framework Forum: Beforeaction Not Called Before Missingaction - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Beforeaction Not Called Before Missingaction Rate Topic: -----

#1 User is offline   kasperholtze 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 10-January 12

Posted 30 November 2012 - 06:38 PM

Hello,

It seems that beforeAction() is not called before missingAction. Is that a bug or a feature? Or am I missing something..

missingAction() is working fine for actions that do not exist. And, beforeAction() is called for existing actions.

Thanks,
Kasper
0

#2 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,359
  • Joined: 12-October 09
  • Location:Croatia

Posted 01 December 2012 - 08:48 AM

Maybe it depends on the logical thinking... for me it's expected that beforeAction gets called before an actual action... so if an action is missing it should not be called.
Find more about me.... btw. Do you know your WAN IP?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users