User tests: Successful: Unsuccessful:
Similar to #16259 this creates a service factory for use with creating objects in the Toolbar API. This should make things a little more flexible as it relates to creating new objects and creating custom objects if needed in extensions.
Fundamentally, this is the same as #16259 for testing. The CMS by default should continue to function without error, for those looking for advanced integrations they can create and inject new logic.
Toolbar
object is created a factory must be passed into the constructor; for ease of migration with 4.0 this won't be a required argumentToolbar
object in the ToolbarButton
constructor, this breaks B/C if anyone were trying something like new StandardButton(new stdClass);
but since the class internals would break without a Toolbar
instance and the number of places where one should be direct instantiating a ToolbarButton
should be minimal (if at all) so it should be a low risk changeStatus | New | ⇒ | Pending |
Category | ⇒ | Installation Libraries |
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-31 10:35:52 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
?
|
Look like this causes backend broken. See the errors in screenshot below: