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

[Content Staging] Not possible to sync if content language differs from parent node's language

    Details

      Description

      If you create any content in a language that differs from the parent node's language, the sync will fail with the following error:


      Event synchronisation action results:
      Object 121 to be synchronised to feed teste_sync: failure (HTTP error 400 (Bad Request)) [Event 4]

      Steps to Reproduce

      1. Set ContentStaging to sync with an English Folder as source.
      2. Inside the source folder, create two objects: one in English, one in German.
      3. Try to sync the objects

      Note: It might be related to EZP-20645

        Issue Links

          Activity

          Eduardo Fernandes (Inactive) created issue -
          Eduardo Fernandes (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] Confirmed [ 10037 ]
          Eduardo Fernandes (Inactive) made changes -
          Link This issue relates to EZP-20645 [ EZP-20645 ]
          Eduardo Fernandes (Inactive) made changes -
          Description If you create any content in a language that differs from the parent node's language, the sync will fail with the following error:
          {quote}{color:red}
          *Event synchronisation action results*:
          Object 121 to be synchronised to feed teste_sync: failure (HTTP error 400 (Bad Request)) [Event 4]
          {color}{quote}

          h3.Steps to Reproduce
          # Set ContentStaging to sync with an English Folder as source.
          # Inside the source folder, create two objects: one in English, one in German.
          # Try to sync the objects
          If you create any content in a language that differs from the parent node's language, the sync will fail with the following error:
          {quote}{color:red}
          *Event synchronisation action results*:
          Object 121 to be synchronised to feed teste_sync: failure (HTTP error 400 (Bad Request)) [Event 4]
          {color}{quote}

          h3.Steps to Reproduce
          # Set ContentStaging to sync with an English Folder as source.
          # Inside the source folder, create two objects: one in English, one in German.
          # Try to sync the objects

          ^*Note*: It might be related to EZP-20645^
          Yannick Roger (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Hide
          Bertrand Dunogier added a comment -

          Reproduced successfully.

          Show
          Bertrand Dunogier added a comment - Reproduced successfully.
          Yannick Roger (Inactive) made changes -
          Assignee Bertrand Dunogier [ bertrand.dunogier@ez.no ]
          Bertrand Dunogier made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Bertrand Dunogier made changes -
          Status Development [ 3 ] Development review [ 10006 ]
          Fix Version/s 5.3.3 [ 13484 ]
          Bertrand Dunogier made changes -
          Remote Link This issue links to "PR ezsystems/ezcontentstaging/pull/36 (Web Link)" [ 14305 ]
          Hide
          Bertrand Dunogier added a comment -

          Pull-request for ezpublish-legacy: https://github.com/ezsystems/ezpublish-legacy/pull/1070.

          Show
          Bertrand Dunogier added a comment - Pull-request for ezpublish-legacy: https://github.com/ezsystems/ezpublish-legacy/pull/1070 .
          Bertrand Dunogier made changes -
          Remote Link This issue links to "PR ezsystems/ezpublish-legacy#1070 (Web Link)" [ 14306 ]
          Hide
          Bertrand Dunogier added a comment -

          Note: the fix requires, most likely, that an option is added to the wsproviders.ini file for the server, to specify the siteaccess (if it is indeed the same error).

          Show
          Bertrand Dunogier added a comment - Note: the fix requires, most likely, that an option is added to the wsproviders.ini file for the server, to specify the siteaccess (if it is indeed the same error).
          Hide
          Bertrand Dunogier added a comment -

          ezsystems/ezpublish-legacy#1070 merged to master@d80e31b

          Show
          Bertrand Dunogier added a comment - ezsystems/ezpublish-legacy#1070 merged to master@d80e31b
          Bertrand Dunogier made changes -
          Status Development review [ 10006 ] Development Review done [ 10028 ]
          Hide
          Bertrand Dunogier added a comment -

          The legacy REST API (v1) doc must be updated to document the X-Siteaccess header.

          If not specified, the REST calls will be executed with the default siteaccess. To specify one, it must be provided using the X-Siteaccess header.

          Note that host based mapping (like api.site.com) would also work to customize the REST API siteaccess.

          Show
          Bertrand Dunogier added a comment - The legacy REST API (v1) doc must be updated to document the X-Siteaccess header. If not specified, the REST calls will be executed with the default siteaccess. To specify one, it must be provided using the X-Siteaccess header. Note that host based mapping (like api.site.com) would also work to customize the REST API siteaccess.
          Bertrand Dunogier made changes -
          Status Development Review done [ 10028 ] Development Acceptance Done [ 10030 ]
          Yannick Roger (Inactive) made changes -
          Assignee Bertrand Dunogier [ bertrand.dunogier@ez.no ] Sarah Haïm-Lubczanski [ sarah.haim-lubczanski@ez.no ]
          Bertrand Dunogier made changes -
          Status Development Acceptance Done [ 10030 ] Documentation [ 10010 ]
          Assignee Sarah Haïm-Lubczanski [ sarah.haim-lubczanski@ez.no ] Bertrand Dunogier [ bertrand.dunogier@ez.no ]
          Hide
          Bertrand Dunogier added a comment - - edited

          Creating follow-ups for documentation: EZP-23359, EZP-23360.

          Show
          Bertrand Dunogier added a comment - - edited Creating follow-ups for documentation: EZP-23359 , EZP-23360 .
          Bertrand Dunogier made changes -
          Status Documentation [ 10010 ] Documentation done [ 10011 ]
          Bertrand Dunogier made changes -
          Link This issue relates to EZP-23359 [ EZP-23359 ]
          Pedro Resende (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Bertrand Dunogier [ bertrand.dunogier@ez.no ] Pedro Resende [ pedro.resende@ez.no ]
          Pedro Resende (Inactive) logged work - 23/Sep/14 12:48 PM
          • Time Spent:
            2 hours, 30 minutes
             

            Worked on Story

          Pedro Resende (Inactive) made changes -
          Rank Ranked higher
          Pedro Resende (Inactive) made changes -
          Flagged Impediment [ 10000 ]
          Paulo Nunes (Inactive) made changes -
          Assignee Pedro Resende [ pedro.resende@ez.no ] Eduardo Fernandes [ eduardo.fernandes@ez.no ]
          Pedro Resende (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 2 hours, 30 minutes [ 9000 ]
          Worklog Id 50816 [ 50816 ]
          Eduardo Fernandes (Inactive) made changes -
          Link This issue relates to EZP-23385 [ EZP-23385 ]
          Bertrand Dunogier made changes -
          Comment [ You do have these changes in your extension code, do you ? ]
          Eduardo Fernandes (Inactive) made changes -
          Fix Version/s 5.4 [ 13180 ]
          Hide
          Eduardo Fernandes (Inactive) added a comment -

          QA Tested and Approved

          Show
          Eduardo Fernandes (Inactive) added a comment - QA Tested and Approved
          Eduardo Fernandes (Inactive) made changes -
          Assignee Eduardo Fernandes [ eduardo.fernandes@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Bertrand Dunogier made changes -
          Link This issue relates to EZP-24036 [ EZP-24036 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 64248 ] EZ* Development Workflow [ 85303 ]
          Nuno Oliveira (Inactive) made changes -
          Link This issue relates to EZP-25621 [ EZP-25621 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 85303 ] EZEE Development Workflow [ 124109 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          1m 40s 1 eduardo.fernandes@ez.no 21/Aug/14 4:38 PM
          Confirmed Confirmed InputQ InputQ
          16h 51m 1 yannick.roger@ez.no 22/Aug/14 9:29 AM
          InputQ InputQ Development Development
          18d 7h 50m 1 Bertrand Dunogier 09/Sep/14 5:20 PM
          Development Development Development Review Development Review
          1d 22h 23m 1 Bertrand Dunogier 11/Sep/14 3:44 PM
          Development Review Development Review Development Review done Development Review done
          4d 19h 41m 1 Bertrand Dunogier 16/Sep/14 11:25 AM
          Development Review done Development Review done Removed Status Removed Status
          1m 17s 1 Bertrand Dunogier 16/Sep/14 11:26 AM
          Removed Status Removed Status Documentation Documentation
          6d 23h 23m 1 Bertrand Dunogier 23/Sep/14 10:49 AM
          Documentation Documentation Documentation Review done Documentation Review done
          32s 1 Bertrand Dunogier 23/Sep/14 10:50 AM
          Documentation Review done Documentation Review done QA QA
          22m 45s 1 pedro.resende@ez.no 23/Sep/14 11:13 AM
          QA QA Closed Closed
          3d 1h 20m 1 eduardo.fernandes@ez.no 26/Sep/14 12:33 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              Eduardo Fernandes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 2 hours, 30 minutes
                2h 30m