Sylius / SyliusResourceBundle

Simpler CRUD for Symfony applications
https://sylius.com
MIT License
219 stars 155 forks source link

[Maintenance] Add an exception for unavailable storages #862

Closed NoResponseMate closed 5 months ago

NoResponseMate commented 6 months ago
Q A
Bug fix? kinda
New feature? yes?
BC breaks? no
Deprecations? no
Related tickets -
License MIT

There's a bunch of issues open Sylius regarding cli/stateless actions resulting in fatals since session is not available when resolving something within a context. Would be nice to have a unified way of knowing whether the storage medium can be accessed at all.

NoResponseMate commented 5 months ago

@diimpp Wanted to wait until #768 gets merged to avoid unnecessary conflicts. Updated 👋

lchrusciel commented 5 months ago

Thank you, @NoResponseMate!