The permanent users list page fails to load when attempting to view users in the system. The endpoint returns an error instead of displaying the user list.
What's Happening
When trying to access the permanent users section, the system attempts to retrieve user statistics (counting users by their status), but encounters a problem because the expected database structure doesn't match what the code is looking for.
Impact
- Cannot view the list of permanent users
- Unable to manage or interact with permanent users through the web interface
- API calls to retrieve permanent users fail
Steps to Reproduce
- Log into the system
- Navigate to the Permanent Users section
- The page fails to load or shows an error
- Check error logs to see database-related errors
Request URL Example
GET /cake4/rd_cake/permanent-users/index.json?cloud_id=24&token=XXX
The permanent users list page fails to load when attempting to view users in the system. The endpoint returns an error instead of displaying the user list.
What's Happening
When trying to access the permanent users section, the system attempts to retrieve user statistics (counting users by their status), but encounters a problem because the expected database structure doesn't match what the code is looking for.
Impact
Steps to Reproduce
Request URL Example
GET /cake4/rd_cake/permanent-users/index.json?cloud_id=24&token=XXX