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

JournalArticleSearchTest fails on 7.1.x CI tester

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.1.X
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Fix Priority:
      3

      Description

      Issue:

      java.lang.AssertionError: {level=ERROR, loggerName=com.liferay.portal.security.permission.AdvancedPermissionChecker, message=com.liferay.portal.kernel.exception.NoSuchUserException: No User exists with the primary key 4741
      

      Affects Case:
      JournalArticleSearchTest > testSearchMyEntries
      JournalArticleSearchTest> testSearchRecentEntries

       

      Error log see here:

      [exec] com.liferay.journal.search.test.JournalArticleSearchTest > testSearchRecentEntries FAILED
           [exec]     java.lang.AssertionError: {level=ERROR, loggerName=com.liferay.portal.security.permission.AdvancedPermissionChecker, message=com.liferay.portal.kernel.exception.NoSuchUserException: No User exists with the primary key 47416
           [exec]         at com.liferay.portal.test.rule.LogAssertionAppender.append(LogAssertionAppender.java:61)
           [exec]         at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
           [exec]         at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
           [exec]         at org.apache.log4j.Category.callAppenders(Category.java:206)
           [exec]         at org.apache.log4j.Category.forcedLog(Category.java:391)
           [exec]         at org.apache.log4j.Category.log(Category.java:856)
           [exec]         at com.liferay.portal.log.Log4jLogImpl.error(Log4jLogImpl.java:54)
           [exec]         at com.liferay.portal.kernel.log.LogWrapper.error(LogWrapper.java:69)
           [exec]         at com.liferay.portal.security.permission.AdvancedPermissionChecker._hasPermissionImpl(AdvancedPermissionChecker.java:1450)
           [exec]         at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasPermission(AdvancedPermissionChecker.java:300)
           [exec]         at com.liferay.staging.security.internal.permission.StagingPermissionChecker.hasPermission(StagingPermissionChecker.java:161)
           [exec]         at com.liferay.staging.security.internal.permission.StagingPermissionChecker.hasPermission(StagingPermissionChecker.java:177)
           [exec]         at com.liferay.portal.kernel.internal.security.permission.resource.DefaultModelResourcePermission._contains(DefaultModelResourcePermission.java:159)
           [exec]         at com.liferay.portal.kernel.internal.security.permission.resource.DefaultModelResourcePermission.contains(DefaultModelResourcePermission.java:113)
           [exec]         at com.liferay.portal.kernel.internal.security.permission.resource.DefaultModelResourcePermission.contains(DefaultModelResourcePermission.java:32)
           [exec]         at com.liferay.portal.kernel.security.permission.resource.DynamicInheritancePermissionLogic.contains(DynamicInheritancePermissionLogic.java:70)
           [exec]         at com.liferay.portal.kernel.internal.security.permission.resource.DefaultModelResourcePermission._contains(DefaultModelResourcePermission.java:141)
           [exec]         at com.liferay.portal.kernel.internal.security.permission.resource.DefaultModelResourcePermission.contains(DefaultModelResourcePermission.java:87)
           [exec]         at com.liferay.journal.internal.search.JournalArticleIndexer.hasPermission(JournalArti
      

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            melody.wu Melody Wu
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              1 year, 27 weeks ago

                Packages

                Version Package