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

Methods in DLPortletDataHandler marked as static make it difficult to extend class in an EXT Plugin

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Inactive
    • Affects Version/s: 6.1.0 CE GA1, 6.1.10 EE GA1
    • Fix Version/s: None
    • Component/s: Documents & Media
    • Labels:
      None

      Description

      There are several methods that are marked as static in the DLPortletDataHandler that make it difficult to extend the class in an EXT Plugin. It causes you to copy a lot of extra code.

      I was recently trying to fix an issue in the importMetadata method. Ideally I should be able to patch this by just extending the DLPortletDataHandler and overriding the one method but since that method is marked as static it was not that easy.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.saechang Michael Saechang
              Reporter:
              jeffrey.handa Jeffrey P. Handa
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 14 weeks, 2 days ago

                  Packages

                  Version Package