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

10/22/2013 - Knowledge Base plugin fails to compile

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.2.0 CE RC6
    • Fix Version/s: 6.2.0 CE RC6
    • Component/s: Knowledge Base
    • Labels:
      None
    • Environment:
      Tomcat 7.0.42 + MySQL 5. Portal 6.2.x GIT ID: 8de998702d4f2131e54cc73ff83784feae6484ac.
      Plugins 6.2.x GIT ID: 92833c369e46f9aff783feb3fb6a6bd6a6c7b971.
    • Fix Priority:
      5

      Description

      The knowledge base plugin portlet is failing to compile. The plugins will throw errors when attempting to compile.

      compile-java:
           [copy] Copying 72 files to L:\private\master-plugins\portlets\knowledge-base-portlet\docroot\WEB-INF\classes
           [copy] Copied 47 empty directories to 28 empty directories under L:\private\master-plugins\portlets\knowledge-base-portlet\docroot\WEB-INF\classes
          [javac] Compiling 100 source files to L:\private\master-plugins\portlets\knowledge-base-portlet\docroot\WEB-INF\classes
          [javac] ----------
          [javac] 1. ERROR in L:\private\master-plugins\portlets\knowledge-base-portlet\docroot\WEB-INF\src\com\liferay\knowledgebase\admin\util\AdminIndexer.java (at line 232)
          [javac]     addDocument(document);
          [javac]     ^^^^^^^^^^^
          [javac] The method addDocument(Document) is undefined for the type new KBArticleActionableDynamicQuery(){}
          [javac] ----------
          [javac] 2. ERROR in L:\private\master-plugins\portlets\knowledge-base-portlet\docroot\WEB-INF\src\com\liferay\knowledgebase\admin\util\AdminIndexer.java (at line 238)
          [javac]     actionableDynamicQuery.setSearchEngineId(getSearchEngineId());
          [javac]                            ^^^^^^^^^^^^^^^^^
          [javac] The method setSearchEngineId(String) is undefined for the type ActionableDynamicQuery
          [javac] ----------
          [javac] 2 problems (2 errors)
      

        Attachments

          Activity

            People

            • Assignee:
              ken.duenwald Ken Duenwald
              Reporter:
              ken.duenwald Ken Duenwald
              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:
                6 years, 13 weeks ago

                Packages

                Version Package
                6.2.0 CE RC6