Hi I have updated Solidus to 3.2.7 from 3.0 :sweat...
# support
k
Hi I have updated Solidus to 3.2.7 from 3.0 😅 I've looked into https://guides.solidus.io/customization/subscribing-to-events#upgrading-from-the-legacy-event-system We didn't use
Spree::Event
and I cannot any
config.use_legacy_events
in my code, but I'm getting the following warning:
Copy code
DEPRECATION WARNING: Your Solidus store is using the legacy event system. You're
encouraged to switch to the new event bus. After you're done, you
can remove the `use_legacy_events` setting from `spree.rb`.
Please, point me out what is wrong?
I think I have found where this config is defined:
..\solidus_core-3.2.7\lib\spree\app_configuration.rb
Copy code
versioned_preference :use_legacy_events, :boolean, initial_value: true, boundaries: { "3.2.0.alpha" => false }
It seems to be is TRUE by default. 😥
t
My understanding with deprecations is that if you assign that config value to false in your project, if events are still working, then the new events system is compatible so you can keep the change. Edit: config should be false for legacy_events to test the new system
k
Cool! Thanks. I got that. 👍