Describe the bug
When the Debug Bar's EventsCollector is enabled, it prevent Statamic from saving changes made through the CP.
To Reproduce
Steps to reproduce the behavior:
Go to statamic/config/debugbar.php
In the collectors array, change events on line 84 to true.
Load the CP and ensure the debug bar is turned on and visible.
You should now see the events tab on the debug bar.
Open a page and make a change, then save.
Statamic will appear to save the changes and return no error. But when you either refresh the page or return to the page (depending on the behaviour of the save button), the changes will not have been saved.
Expected behavior
Even with the EventsCollector property in Debug Bar set to true, the filesystem should save the changes.
Environment details (please complete the following information):
Statamic Version: 2.11.13
Fresh Install or Upgrade: Fresh install
OS: MacOS 10.14.5
Browser: All
Web Server: Valet
PHP Version: 7.2
Addons installed: None
Additional context
I'm aware this is achieved by messing around with the core config, so it might be disabled for good reason. But it would be helpful to be able to use this while enabled for tracking events when debugging sites and when developing addons.
Describe the bug When the Debug Bar's EventsCollector is enabled, it prevent Statamic from saving changes made through the CP.
To Reproduce Steps to reproduce the behavior:
Expected behavior Even with the EventsCollector property in Debug Bar set to true, the filesystem should save the changes.
Environment details (please complete the following information):
Additional context I'm aware this is achieved by messing around with the core config, so it might be disabled for good reason. But it would be helpful to be able to use this while enabled for tracking events when debugging sites and when developing addons.