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

[Request]: 404 error for Resource Tree Page.

Open stuartcusackie opened this issue 1 month ago • 1 comments

What happened?

I followed the instructions for 'Resource Tree Pages' and I can see that the tree route exists when I run artisan route:list. However visiting /categories/tree produces a 404 error and I see nothing different on my resources table.

Using the Widget method works fine.

My categories use a 'name' column rather than a 'title' column. Could this be the problem?

How to reproduce the bug

I just followed the steps under Installation, Quick Start & Resource Tree Pages https://filamentphp.com/plugins/solution-forest-tree

Package Version

3.1.3

Filament Version

4.1

PHP Version

8.4

Laravel Version

12.39.0

Which operating systems does with happen with?

Windows

Notes

No response

stuartcusackie avatar Nov 21 '25 17:11 stuartcusackie

Not sure what happened but the tree route is now working.

I created a policy and it started working so it seems you need a policy for the resource's model?

stuartcusackie avatar Nov 21 '25 17:11 stuartcusackie