« Previous | Next » 

Revision 35bd7a3a

ID35bd7a3aa1f9c7058ef7ddd925bf413e4756fb53

Added by Bastian Waidelich over 8 years ago

[BUGFIX] Controllers must not be of scope singleton

Adjusts the controller templates to create prototypes instead
of singletons.

Background:
Usually the scope of a controller doesn't really make a difference,
because they are only instantiated once per request.
But if the same controller is used multiple times
(e.g. within two plugin/widget instances on one page) the side
effects could be very confusing.

Change-Id: Ica0f48becc0b2d02f12f8d40a942cd0bf3274146
Fixes: #45647
Releases: master, 2.0

  • added
  • modified
  • copied
  • renamed
  • deleted