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

"delete" isn't staged if target siteaccess doesn't have the content's language

    XMLWordPrintable

Details

    Description

      On eZ Content Staging 4.7.1, the "delete" trigger does not work. When syncing a deleted object, it seems to be working properly, as a success message is displayed (e.g. "Object 101 succesfully synchronised to feed 47ezfc_cs2.com"). However, the deleted object is still present in the target installation.

      Steps to reproduce:

      Prepare the environment:

      • Prepare two eZ Publish 4.7 installations, fully patched. One will be your source server, and the other will be the target server;
      • Install eZ Content Staging 4.7.1 on both installations. More details here:

      https://doc.ez.no/Extensions/eZ-Publish-extensions/eZ-Content-Staging/eZ-Content-Staging-1.x/Installation

      Note: when installing eZ Content Staging 4.7.1 in the source server, make sure to use on contentstagingsource.ini.append.php:

      TransportClass=eZRestApiEmbeddedClientStagingTransport471
      

      Reproduce the issue:

      1. Source server: create a new object. Used an article;

      Home
      	Article 1
      

      2. Source server: sync the event for the newly created object;
      3. Target server: verify that the object is present;
      4. Source server: Delete object - delete it, or send it to trash, as bug is reproducible in both situations;
      5. Source server: sync the event for the deleted object. Syncing appears to be working as expected, as a sync success message is displayed ("Object <test_object_id> succesfully synchronised to feed <test_target_server>");
      6. Target server: However, upon inspection, the object is still present.

      Note: Step 5 does not generate any errors in the error log;

      Attachments

        Activity

          People

            Unassigned Unassigned
            nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 10 minutes
                1h 10m