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

Resources Importer imports ADTs with incorrect resourceClassNameId

    Details

      Description

      Resources Importer always imports ADTs using 'com.liferay.journal.model.JournalArticle' for the resourceClassNameId, as shown in this line:

      https://github.com/liferay/liferay-portal/blob/master/modules/apps/web-experience/export-import/export-import-resources-importer/src/main/java/com/liferay/exportimport/resources/importer/util/FileSystemImporter.java#L218

      The result is that ADTs are imported, but they never show up in the Application Display Template lists in the control panel. Manually creating an ADT and checking the code indicates that the correct resourceClassName should be 'com.liferay.portlet.display.templat.PortletDisplayTemplate'

        Attachments

        1. 0516.jpg
          0516.jpg
          38 kB
        2. 0616.jpg
          0616.jpg
          46 kB
        3. securescape-theme.war
          8.13 MB

          Activity

            People

            • Assignee:
              steven.gao Steven Gao (Inactive)
              Reporter:
              igor.arouca Igor Arouca
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 1 week, 2 days ago