Details
-
Bug
-
Resolution: Fixed
-
High
-
5.4.12, 1.7.8, 1.13.4, 2.2.3, 2.3.2, 2.4.0-beta1
-
None
Description
Common symptom:
For not logged in users this will result in login screen, if logged in you'll get permission error or missing content.
–
Context:
In API when loading content in current version, that is done in two steps, first loading content info, then content.
There are many reports that under concurrency this can lead to wrong version being loaded which makes API check for content/versionread which will throw UnauthorizedException exception.
Possible solution:
- Change SPI to allow direct loading of current version, and use that in ContentService
- 6.13 and up: adapt ContentService::loadContentByContentInfo and Persistence\Cache\ContentHandler::deleteTranslationFromDraft for this