Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-29899

Current Content version loading can end up loading wrong version under concurrency

    Details

      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

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          3d 2h 18m 1 André Rømcke 17/Dec/18 5:41 PM
          Confirmed Confirmed Backlog Backlog
          13s 1 André Rømcke 17/Dec/18 5:41 PM
          Backlog Backlog Development Development
          11s 1 André Rømcke 17/Dec/18 5:41 PM
          Development Development Development Review done Development Review done
          36s 1 André Rømcke 17/Dec/18 5:42 PM
          Development Review done Development Review done Documentation Review done Documentation Review done
          10s 1 André Rømcke 17/Dec/18 5:42 PM
          Documentation Review done Documentation Review done Closed Closed
          48d 17h 57m 1 Maciej Tyrała 04/Feb/19 11:40 AM

            People

            • Assignee:
              Unassigned
              Reporter:
              André Rømcke
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: