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

LandingPage field types typehint the content service implementation

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • None
    • None
    • None
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            sroze@inviqa.com sroze@inviqa.com
            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