Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-73282 Implement Portlet 3.0
  3. LPS-80157

Portlet 3.0: Fix anticipated compile failure in portal-reports-engine-console-web ReportsEngineDisplayContext.java

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: 7.1.X, 7.2.X, Master
    • Component/s: None
    • Labels:
      None

      Description

      The following code in ReportsEngineDisplayContext.java will suffer a compile failure when the upgrade to portlet-api-3.0.0.jar takes place:

      ReportsEngineDisplayContext.java
      PortletURL portletURL = _liferayPortletResponse.createRenderURL();
      

      The fix is simply to cast to javax.portlet.PortletURL:

      ReportsEngineDisplayContext.java
      PortletURL portletURL = (PortletURL)_liferayPortletResponse.createRenderURL();
      

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            neil.griffin Neil Griffin
            Recent user:
            Enterprise Release HU
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.1.X
                7.2.X
                Master