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

Removal of ScriptData.append(String, String) method during backport of LPS-27212 to 6.1.x causes Liferay Faces Alloy compilation failure

    Details

      Description

      When LPS-27212 was backported to the 6.1.x version of Liferay Portal, the following method was removed:

      package com.liferay.portal.kernel.servlet.taglib.aui;
      
      public class ScriptData {
      
          public void append(String content, String use) {
              ...
          }
      
      }
      

      The Liferay Faces 3.1.2-ga3 release depends on this method being present in the Liferay API.

      Proposed fix would be to add the following method:

      	/**
      	 * @deprecated As of 6.1.2 replaced by {@link #append(String, String, String)}
      	 */
      	public void append(String content, String use) {
      		PortletData portletData = _getPortletData(null);
      
      		portletData.append(content, use);
      	}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                neil.griffin Neil Griffin
                Reporter:
                neil.griffin Neil Griffin
                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:
                  7 years, 7 weeks, 2 days ago

                  Packages

                  Version Package
                  6.1.30 EE GA3