« Previous | Next » 

Revision 989eef86

ID989eef864d76e4b05dac0d7a09dd9d07cf69fc19

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