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

When publishing Content with Location some Location create struct properties are not respected

    Details

      Description

      When using ContentService::createContentMethod, new locations are persisted using eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\EzcDatabase::createNodeAssignment() where the priority is not stored. As a result, the LocationCreateStruct::priority property can not be used with legacy storage engine.

      Could we fix this by adding a new SQL field in the eznode_assignment table and using it in eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\EzcDatabase ?

        Activity

        Hide
        Petar Spanja (Inactive) added a comment -

        While working on this found some more problems - hidden state is not respected in the same way as priority.
        Also sort field and order for Location were hardcoded in Gateway.

        Updating issue title accordingly.

        Show
        Petar Spanja (Inactive) added a comment - While working on this found some more problems - hidden state is not respected in the same way as priority. Also sort field and order for Location were hardcoded in Gateway. Updating issue title accordingly.
        Show
        Petar Spanja (Inactive) added a comment - - edited Pull requests: https://github.com/ezsystems/ezpublish-kernel/pull/536 https://github.com/ezsystems/ezpublish-legacy/pull/778 https://github.com/ezsystems/ezoracle/pull/16
        Show
        Petar Spanja (Inactive) added a comment - Fixed in: ezpublish-kernel/master: https://github.com/ezsystems/ezpublish-kernel/commit/9911b3cd602ef19757d6753180df4e23aa2fdff3 ezpublish-legacy/master: https://github.com/ezsystems/ezpublish-legacy/pull/778 ezoracle/master: https://github.com/ezsystems/ezoracle/pull/16
        Hide
        Joao Pingo (Inactive) added a comment -

        QA Approved

        Show
        Joao Pingo (Inactive) added a comment - QA Approved

          People

          • Assignee:
            Unassigned
            Reporter:
            Benjamin Choquet
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 day, 4 hours, 30 minutes
              1d 4h 30m