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

Content embedded within RichText not available via Relations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 1.3.1
    • Fix Version/s: Customer request, 1.3.2, 1.4.0-rc1
    • Component/s: None
    • Labels:
      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

            Assignee:
            Unassigned
            Reporter:
            jani.tarvainen@ez.no Jani Tarvainen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: