It seems like the preProcess plugin point should be firing before the filter is executed. Have you put in some logging to verify that preProcess isn't being called?
--Kurt On Mon, Aug 29, 2011 at 12:04 PM, Derrick Jackson <[email protected]> wrote: > Hi Folks, > > I am using plugin that checks to see if a user is logged in. The code for > this resides in the pre-process plugin point. Once the user successfully > logs in, a "user" object is saved in the session scope. if the user does > not succsfully login or calls an event prior to logging it they are redirect > to the login page. This works like a charm for all events except one. That > one event contains a filter takes that "user" object in the session scope > and places two variables from it in the event object. Well if a user calls > the event with the filter prior to logging in a Mach-II exception error is > thrown. I expected the user to be routed to the login page rather than > exception thrown. > > Am i misunderstanding something about filters and plugins? > > Thanks, > Derrick > > -- > To post to this group, send email to [email protected] > For more options and to unsubscribe, visit this group at > http://groups.google.com/group/mach-ii-for-coldfusion?hl=en > > SVN: http://svn.mach-ii.com/machii/ > Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/ > -- To post to this group, send email to [email protected] For more options and to unsubscribe, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
