Filament::getTenant() is always null in any queued job

Filament::getTenant() is always null in any queued job any suggestions?
5 Replies
monzer
monzer2w ago
GitHub
Filament::getTenant() is always null in any queued job · filamentph...
Package Panel builder Package Version v3.2.90 How can we help you? Filament::getTenant() is always null in any queued job any suggestions? public function execute(array $data, Model $model): void {...
Dennis Koch
Dennis Koch2w ago
What do you expect? There is no request that’s related to any Panel.
monzer
monzer7d ago
thanks
Dennis Koch
Dennis Koch7d ago
Ah sorry. I thought it’s about the Panel. Seems like we don’t handle the tenant in jobs automatically. Filament built in solution is quite rudimentary. But you can manually pass the tenant as a param when creating the job.
monzer
monzer7d ago
no worries thank you