Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-118795

The Source field in the mapping dialog for an editable in a Display Page Template shows "unknown-variation(0)" instead of the item type

    Details

      Description

      Steps to reproduce

      1. Create a display page template for an item type that doesn't have form variations (see note below)
      2. Add a fragment with an editable field (for example Heading)
      3. Click on the fragment and click again to focus the editable field.
      4. In the side panel go to the mapping tab. 

      Expected

      The Source field shows a default value of "unknown-variation(0)"

      Actual

      The Source field shows a default value with a human-friendly name of the item type.

      Note

      This issue can currently only be reproduced by developing support for a custom item type. I found it while developing an example.

      While this could also happen to Blogs Entry, it doesn't because as of today it still has an InfoDisplayContributor implementation active which makes the code avoid the problem.

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            jorge.ferrer Jorge Ferrer (Inactive)
            Participants of an Issue:
            Recent user:
            Jason Pince
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 46 weeks, 4 days ago

                Packages

                Version Package
                7.3.4 CE GA5
                7.3.5 CE GA6
                7.3.10 DXP GA1
                Master