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

LandingPage field types typehint the content service implementation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Most of the block classes of the `ezsystems/landing-page-fieldtype-bundle` package are typehinting the code ContentService implementation (`eZ\Publish\Core\Repository\ContentService`) instead of the interface (`eZ\Publish\API\Repository\ContentService`).

      That makes impossible to decorate the `ezpublish.api.service.content` service with another class when using this.

      At least the following classes are impacted:

      • EzSystems\LandingPageFieldTypeBundle\FieldType\LandingPage\Model\Block\BannerBlock
      • EzSystems\LandingPageFieldTypeBundle\FieldType\LandingPage\Model\Block\GalleryBlock
      • EzSystems\LandingPageFieldTypeBundle\FieldType\LandingPage\Model\Block\PlacesBlock
      • EzSystems\LandingPageFieldTypeBundle\FieldType\LandingPage\Model\Block\VideoBlock

        Issue Links

          Activity

          Hide
          Samuel Roze added a comment -

          Thank you. How can I try it? Was it released?

          Show
          Samuel Roze added a comment - Thank you. How can I try it? Was it released?
          Hide
          Kamil Musiał (Inactive) added a comment -

          Samuel Roze The new tag will be next week. Right now, you can apply an attached patch.

          Show
          Kamil Musiał (Inactive) added a comment - Samuel Roze The new tag will be next week. Right now, you can apply an attached patch.

            People

            • Assignee:
              Unassigned
              Reporter:
              Samuel Roze
            • Votes:
              0 Vote for this issue
              Watchers:
              3 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 hour
                1h