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

Content embedded within RichText not available via Relations

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • Customer request, 1.3.2, 1.4.0-rc1
    • 1.3.0, 1.3.1
    • None
    • None

    Description

      As a developer I would expect that embedding content within the RichText area would result in the embedded items available as relations of type "embed". Currently this does not seem to be the case.

      1. Install eZ Platform
      2. Embed an image to a rich text field
      3. Navigate to "Related content" tab
      4. Expect to see image listed as a relation, but it's not

      To verify this is not an issue with REST/UI only, you can load the relations using the API. See attached image and code below

      $content = $contentService->loadContent(123456);
      
      $versionInfo = $contentService->loadVersionInfo($content->contentInfo);
      $relations = $contentService->loadRelations( $versionInfo );
      
      dump($content);
      dump($relations);
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jani.tarvainen@ibexa.co Jani Tarvainen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: