Implicit Events ( views without handler events ) do not have LifeCycle events like PreHandler

Description

If you have a view, without a handler event, its considered an Implicit/Virtual Event, and pre, post, and aroundHandler, ie - life cycle events, do not execute.

I think it would be useful, especially for legacy style conversions where you migrate the views, and then refactor into the handler in time.

Maybe activate in handler based on a flag, so the lifecycler isn't added to every Implicit Event if the Handler doesn't need it to.

The big usage benefits would be for logging, security etc.

Activity

Show:
Brad Wood
December 17, 2020, 10:11 PM

This came up in the forums today biting someone. They were using a virtual event and expected their prehandler to still run.

Gavin Pickin
March 10, 2017, 10:41 PM

Legacy Security is a big reason... so we'll do it.

Assignee

Luis Majano

Reporter

Gavin Pickin

Labels

None

Components

Priority

Major