Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2942

In Multirepository setup Workflows always use a default Database connection

    XMLWordPrintable

Details

    Description

      In Multirepository setup Workflows always use a default Database connection, so records may be placed in the wrong database.

      Steps to reproduce
      1. Clean installation of eZ Platform 2.5.6
      2. Multirepository setup with two Databases: db-1 and db-2.
      3. Two backends Siteaccesses admin and admin2, using different cache.pool and repository. admin uses default repository (db1), admin2 uses second repository (db2).
      4. Set up Workflows like in the documentation example.
      5. In admin2 backoffice, create Article and and send it to "Technical Review" with "Test" message.
      6. Execute:

      SELECT * FROM `ezeditorialworkflow_transitions`
      

      on db2.

      Result
      There will be no record returned, as it was stored in db-1.

      Expected Result
      There will be a single record returned for previously created transition with the "Test" message.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mateusz.bieniek@ibexa.co Mateusz Bieniek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: