Problem/Motivation

I noticed while working on #2819347: Create permissions that the /check page is only been executed once. You can test this by adding a var_dump in the code and you will only see it the first time on the page after a cache clear. The simpletest for the permissions was also getting 500's on this page.

Proposed resolution

Investigate why the code is only executed once and update the simpletest afterwards.

Remaining tasks

- Fix the issue
- Update simpletest

Comments

BramDriesen created an issue. See original summary.

legovaer’s picture

If this is the case, we do we get a 500 then? Then I'd expect that the tests just fail instead of returning an error.

BramDriesen’s picture

I noticed the 500 after debugging and looking into the error logs. The tests indeed failed. However this bug might not be relevant anymore after #2813369: Clean up the the controller

BramDriesen’s picture

Status: Active » Postponed (maintainer needs more info)
Related issues: +#2813369: Clean up the the controller

Postponed for now until following tasks are closed.

#2813369: Clean up the the controller
#2819347: Create permissions

legovaer’s picture

Status: Postponed (maintainer needs more info) » Postponed