filament-email icon indicating copy to clipboard operation
filament-email copied to clipboard

[Bug]: Cannot Get Correct Tenant On Custom Multitenancy RelationShip

Open OccTherapist opened this issue 5 months ago • 4 comments

What happened?

When using an other user tenant relationship than teams it throws this error:

Call to a member function newCollection() on null

When I change the global scope on the teams model to my custom relationship it works.

A generic solution would be nice.

How to reproduce the bug

Use a custom user tenant relationship e.g. belognsToMany facilities and try to open EmailResource.

Package Version

1.6.2

PHP Version

8.3

Laravel Version

11.22.0

Which operating systems does with happen with?

Linux

Notes

No response

OccTherapist avatar Sep 19 '24 22:09 OccTherapist