laravel-multitenancy
laravel-multitenancy copied to clipboard
Issue decrypting jobs that implement the ShouldBeEncrypted contract.
I had no issues with v3.
Since upgrading to v4 I noticed that jobs that implement the ShouldBeEncrypted contract now fail, throwing an error when being processed: unserialize() error at offset 0 of XX bytes
Digging deeper, I can trace this back to Spatie's IsTenantAware function. It appears the payload is still encrypted when IsTenantAware tries to unserialize it, so the unserialize fails (throwing the error above).
Again, wasn't an issue with v3, is an issue with v4, and haven't had a chance to dig deeper into what has changed in your codebase between the versions.
@skoontastic Hopefully you solved this already.
If not, are you using redis + compression? I had an issue with this.
Please post the code that throws the exception to solve the issue. Thanks
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.