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

PortletDisplayTemplateHandler in custom portlet on already used class

    Details

      Description

      Hi,
      In my custom portlet, i have defined PortletDisplayTemplateHandler which also uses the AssetEntry model from liferay. But as we already have an PortletDisplayTemplateHandler defined for Asset Publisher portlet against AssetEntry class, there seems to be some weird stuff going on. All old ADTs which were created against Asset Publisher portlet are not displayed anymore in ADTs list and even i don't see Add new "Asset Publisher Template" option. They seems all connected.

      Worst part, even if i undeploy my portlet behaviour still remains the same and i have to restart my server to get my Asset publisher ADTs back. This should not be the case, a portlet is an independent plugin which should only have effect on system as long as they are on system.

      But the main problem is

      Why is it not possible to develop two different PortletDisplayTemplateHandler which uses the same model class , in my case AssetEntry.??? It should be possible to do so.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            zainu220@gmail.com Abid Mehmood
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 39 weeks, 4 days ago

                Packages

                Version Package