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

Knowledge Base plugin fails to compile in 6.1.x CE

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE M2
    • Fix Version/s: 6.1.1 CE GA2
    • Labels:
      None
    • Environment:
      Tomcat 7.0.27 + MySQL 5. Portal 6.1.x CE GIT ID: bc71cd89572ad346d5b5c2a0042b1ef721bd1ee8.
      Plugins 6.1.x CE GIT ID: aa00171fa6a562732cb34e2475ae654aa2c59c0a.

      Description

      The knowledge base plugin fails to compile in 6.1.x ce.

      D:\git\private\6.1.x-plugins\portlets\knowledge-base-portlet>ant all
      Buildfile: D:\git\private\6.1.x-plugins\portlets\knowledge-base-portlet\build.xml
      
      all:
      
      clean:
      
      clean-portal-dependencies:
      
      compile:
      
      merge:
          [mkdir] Created dir: D:\git\private\6.1.x-plugins\portlets\knowledge-base-portlet\docroot\WEB-INF\classes
           [copy] Copying 6 files to D:\git\private\6.1.x-plugins\portlets\knowledge-base-portlet\docroot\WEB-INF\lib
           [copy] Copying 1 file to D:\git\private\6.1.x-plugins\portlets\knowledge-base-portlet\docroot\WEB-INF\tld
           [copy] Copying 5 files to D:\git\private\6.1.x-plugins\portlets\knowledge-base-portlet\docroot\WEB-INF\lib
      
      compile-java:
           [copy] Copying 69 files to D:\git\private\6.1.x-plugins\portlets\knowledge-base-portlet\docroot\WEB-INF\classes
           [copy] Copied 45 empty directories to 26 empty directories under D:\git\private\6.1.x-plugins\portlets\knowledge-base-portlet\docroot\WEB-INF\classes
          [javac] Compiling 97 source files to D:\git\private\6.1.x-plugins\portlets\knowledge-base-portlet\docroot\WEB-INF\classes
          [javac] ----------
          [javac] 1. ERROR in D:\git\private\6.1.x-plugins\portlets\knowledge-base-portlet\docroot\WEB-INF\src\com\liferay\knowledgebase\admin\asset\KBArticleAssetRenderer.java (at line 40)
          [javac]     public class KBArticleAssetRenderer extends BaseAssetRenderer {
          [javac]                  ^^^^^^^^^^^^^^^^^^^^^^
          [javac] The type KBArticleAssetRenderer must implement the inherited abstract method AssetRenderer.getUserName()
          [javac] ----------
          [javac] 1 problem (1 error)
      
      BUILD FAILED
      D:\git\private\6.1.x-plugins\build-common-plugin.xml:48: The following error occurred while executing this line:
      D:\git\private\6.1.x-plugins\build-common-plugin.xml:446: The following error occurred while executing this line:
      D:\git\private\6.1.x-plugins\build-common.xml:94: Compile failed; see the compiler error output for details.
      
      Total time: 4 seconds

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chiu Brian Chiu (Inactive)
              Reporter:
              brian.chiu Brian Chiu (Inactive)
              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:
                9 years, 6 weeks ago

                  Packages

                  Version Package
                  6.1.1 CE GA2