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

Expose SignalSlot repository properly

    XMLWordPrintable

Details

    • Stetind Sprint 7, Aconcagua Sprint 2

    Description

      SignalSlot listeners are not correctly registered.

      papi.yml
          ezpublish.signalslot.signal_dispatcher.mapping:
              eZ\Publish\Core\SignalSlot\Signal\SectionService\AssignSectionSignal: [ezpublish.signalslot.legacy_slot.assign_section]
              eZ\Publish\Core\SignalSlot\Signal\ContentService\CopyContentSignal: [ezpublish.signalslot.legacy_slot.copy_content]
              eZ\Publish\Core\SignalSlot\Signal\LocationService\CreateLocationSignal: [ezpublish.signalslot.legacy_slot.create_location]
              eZ\Publish\Core\SignalSlot\Signal\ContentService\DeleteContentSignal: [ezpublish.signalslot.legacy_slot.delete_content]
              eZ\Publish\Core\SignalSlot\Signal\LocationService\DeleteLocationSignal: [ezpublish.signalslot.legacy_slot.delete_location]
              eZ\Publish\Core\SignalSlot\Signal\ContentService\DeleteVersionSignal: [ezpublish.signalslot.legacy_slot.delete_version]
              eZ\Publish\Core\SignalSlot\Signal\LocationService\HideLocationSignal: [ezpublish.signalslot.legacy_slot.hide_location]
              eZ\Publish\Core\SignalSlot\Signal\LocationService\MoveSubtreeSignal: [ezpublish.signalslot.legacy_slot.move_subtree]
              eZ\Publish\Core\SignalSlot\Signal\ContentService\PublishVersionSignal: [ezpublish.signalslot.legacy_slot.publish_version]
              eZ\Publish\Core\SignalSlot\Signal\ObjectStateService\SetContentStateSignal: [ezpublish.signalslot.legacy_slot.set_content_state]
              eZ\Publish\Core\SignalSlot\Signal\LocationService\SwapLocationSignal: [ezpublish.signalslot.legacy_slot.swap_location]
              eZ\Publish\Core\SignalSlot\Signal\LocationService\UnhideLocationSignal: [ezpublish.signalslot.legacy_slot.unhide_location]
              eZ\Publish\Core\SignalSlot\Signal\LocationService\UpdateLocationSignal: [ezpublish.signalslot.legacy_slot.update_location]
      

      Listeners should be registered via a service tag.
      Another generic way of doing would be to trigger events via the Symfony event dispatcher so that developers could listen to them more easily.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jerome.vieilledent-obsolete@ez.no Jérôme Vieilledent (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5 hours Original Estimate - 5 hours
                5h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 5 hours, 31 minutes
                2d 5h 31m