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

Knowledge Base is failing in the service builder

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: 7.2.X, Master
    • Component/s: Knowledge Base
    • Labels:
      None

      Description

      Error found in CI:

      diff --git a/modules/apps/knowledge-base/knowledge-base-api/src/main/java/com/liferay/knowledge/base/service/KBArticleLocalService.java b/modules/apps/knowledge-base/knowledge-base-api/src/main/java/com/liferay/knowledge/base/service/KBArticleLocalService.java
           [echo] index afd2a23..bbb90ba 100644
           [echo] --- a/modules/apps/knowledge-base/knowledge-base-api/src/main/java/com/liferay/knowledge/base/service/KBArticleLocalService.java
           [echo] +++ b/modules/apps/knowledge-base/knowledge-base-api/src/main/java/com/liferay/knowledge/base/service/KBArticleLocalService.java
           [echo] @@ -275,8 +275,7 @@ public interface KBArticleLocalService
           [echo]  
           [echo]  	@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
           [echo]  	public KBArticle fetchKBArticleByUrlTitle(
           [echo] -			long groupId, String kbFolderUrlTitle, String urlTitle)
           [echo] -		throws PortalException;
           [echo] +		long groupId, String kbFolderUrlTitle, String urlTitle);
           [echo]  
           [echo]  	/**
           [echo]  	 * Returns the kb article matching the UUID and group.
           [echo] diff --git a/modules/apps/knowledge-base/knowledge-base-api/src/main/java/com/liferay/knowledge/base/service/KBArticleLocalServiceUtil.java b/modules/apps/knowledge-base/knowledge-base-api/src/main/java/com/liferay/knowledge/base/service/KBArticleLocalServiceUtil.java
           [echo] index 497ec7d..3a43bcd 100644
           [echo] --- a/modules/apps/knowledge-base/knowledge-base-api/src/main/java/com/liferay/knowledge/base/service/KBArticleLocalServiceUtil.java
           [echo] +++ b/modules/apps/knowledge-base/knowledge-base-api/src/main/java/com/liferay/knowledge/base/service/KBArticleLocalServiceUtil.java
           [echo] @@ -342,9 +342,8 @@ public class KBArticleLocalServiceUtil {
           [echo]  	}
           [echo]  
           [echo]  	public static com.liferay.knowledge.base.model.KBArticle
           [echo] -			fetchKBArticleByUrlTitle(
           [echo] -				long groupId, String kbFolderUrlTitle, String urlTitle)
           [echo] -		throws com.liferay.portal.kernel.exception.PortalException {
           [echo] +		fetchKBArticleByUrlTitle(
           [echo] +			long groupId, String kbFolderUrlTitle, String urlTitle) {
           [echo]  
           [echo]  		return getService().fetchKBArticleByUrlTitle(
           [echo]  			groupId, kbFolderUrlTitle, urlTitle);
           [echo] diff --git a/modules/apps/knowledge-base/knowledge-base-api/src/main/java/com/liferay/knowledge/base/service/KBArticleLocalServiceWrapper.java b/modules/apps/knowledge-base/knowledge-base-api/src/main/java/com/liferay/knowledge/base/service/KBArticleLocalServiceWrapper.java
           [echo] index 49355cc..8ef31b8 100644
           [echo] --- a/modules/apps/knowledge-base/knowledge-base-api/src/main/java/com/liferay/knowledge/base/service/KBArticleLocalServiceWrapper.java
           [echo] +++ b/modules/apps/knowledge-base/knowledge-base-api/src/main/java/com/liferay/knowledge/base/service/KBArticleLocalServiceWrapper.java
           [echo] @@ -364,8 +364,7 @@ public class KBArticleLocalServiceWrapper
           [echo]  
           [echo]  	@Override
           [echo]  	public com.liferay.knowledge.base.model.KBArticle fetchKBArticleByUrlTitle(
           [echo] -			long groupId, String kbFolderUrlTitle, String urlTitle)
           [echo] -		throws com.liferay.portal.kernel.exception.PortalException {
           [echo] +		long groupId, String kbFolderUrlTitle, String urlTitle) {
           [echo]  
           [echo]  		return _kbArticleLocalService.fetchKBArticleByUrlTitle(
           [echo]  			groupId, kbFolderUrlTitle, urlTitle);
      

        Attachments

          Activity

            People

            • Assignee:
              patricia.perez Patricia Perez
              Reporter:
              patricia.perez Patricia Perez
              Participants of an Issue:
              Recent user:
              Patricia Perez
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                16 weeks, 4 days ago

                Packages

                Version Package
                7.2.X
                Master