CI 4 Bug Report #4572
Context: codeigniter4/CodeIgniter4#4572
How to Start this Project:
- Go to
main-app/
and runcomposer install
to install required dependencies - Then copy
env
to.env
and fill set them accordingly.
This project doesnt require a database, you can skip the database part. - Start the project by executing
php spark serve
onmain-app/
Project Description:
Routing from extendables
have filters pnd_auth
where it's registered on
Filters.php
on extendables
, and used
on Routes.php
on extendables
.
The extendables
project are accessible on /admin/panel
routing group as mentioned
on extendables
' Routes.php file. So by
that we're expecting that routes that have filters will work as expected because
we have register them on the Filters.php
file on the extendables
. That being
said, the CI4 returns filter not found exceptions.
By exploration, i figure out that the Filters.php
file from extendables
didn't get loaded when its needed, while accessing /admin/panel
route.