ERP5Type.patches.User: Scope role cache per user id.
When running test.erp5.testHalJsonStyle live tests, the same transaction seems to be seeing two different users. This cause an incorrect cache hit with the second user, which then retrieves values computed by & for the first user. Fix this by scoping the cache by user id, causing different cache entries to be used.
Showing
Please register or sign in to comment