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

    • Type: Bug
    • Status: Closed
    • Priority: 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

        Attachments

        1. 120.patch
          4 kB
          Kamil Musiał

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sroze@inviqa.com 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