Create tenant page breaks if we have a custom profile page
I got the custom profile page working and everithing works except the create tenant page, here's an example of my
AppPanelProvider
:
Any idea what could be happening?
The error I get is Missing required parameter for [Route: filament.app.pages.edit-profile] [URI: app/{tenant}/edit-profile] [Missing parameter: tenant].
We don't have a tenant in the tenant create page, but it's still required when you create the route for the Edit Profile.10 Replies
How did you solve this issue? I am having the same problem.
@eketcha I wasn't able to solve it yet, decided to look at it later and removed create tenant page for now
Need to see the EditTeamProfile code, it looks like your custom edit profile tenant page misconfigured the route, make sure you extend the correct class here
Filament\Pages\Tenancy\EditTenantProfile
@benny.dev Sure!
Sorry, this isn't the page
The one that has trouble is the custom profile page
Yes, that slug property. try to comment it then go to register tenant
@benny.dev this is my edit profile page (user profile, not tenant profile)
And if I'm logged in and working normally it works, but if I try to go into the create tenant page it breaks
This is a custom profile page as I wanted it to have the same layout of the other pages
And this is my panel config
I have the same problem. I didn’t find a solution yet
Yeah, I'm facing the same issue. If there is no tenant created yet i.e. you get redirected to /{panel}/new to create a tenant the edit profile menu item is still attempted to be created but the /{panel}/{tenant}/edit-profile can't be created.
Did anyone solve that yet?
Did anyone open an issue?
GitHub
Custom
EditProfile
page in multi-tenancy causes `Missing required...Package filament/filament Package Version v3.0.91 Laravel Version v10.30.1 Livewire Version v3.1.0 PHP Version PHP 8.2.13 Problem description When adding a custom EditProfile screen to a panel with...
I think you can't have a
Filament\Pages\Page
without a tenant. It has to be a Filament\Pages\SimplePage