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

JournalArticleFinderTest failed with AssertionError

    Details

    • Sprint:
      Data_Engine_7.3_25

      Description

      Testray

      Jenkins

      [exec] com.liferay.journal.service.persistence.test.JournalArticleFinderTest > testFindByExpirationDate FAILED
           [exec]     java.lang.AssertionError: [{mvccVersion=2, ctCollectionId=0, uuid=205027bb-81aa-79f2-aa30-b4d0eefe6f1e, id=37951, resourcePrimKey=37952, groupId=37884, companyId=20099, userId=20127, userName=Test Test, createDate=2020-05-01 08:45:28.395, modifiedDate=2020-05-01 08:45:28.558, folderId=0, classNameId=0, classPK=0, treePath=/, articleId=37950, version=1.0, urlTitle=title-2, content=<?xml version="1.0"?>
           [exec] 
           [exec]     <root available-locales="es_ES,en_US,de_DE" default-locale="en_US">
           [exec]     	<request/>
           [exec]     	<dynamic-element index-type="keyword" name="name" type="text">
           [exec]     		<dynamic-content language-id="es_ES"><![CDATA[content]]></dynamic-content>
           [exec]     		<dynamic-content language-id="en_US"><![CDATA[content]]></dynamic-content>
           [exec]     		<dynamic-content language-id="de_DE"><![CDATA[content]]></dynamic-content>
           [exec]     	</dynamic-element>
           [exec]     </root>, DDMStructureKey=37939, DDMTemplateKey=37945, defaultLanguageId=en_US, layoutUuid=, displayDate=2020-05-01 08:45:00.0, expirationDate=2020-05-01 08:45:28.558, reviewDate=null, indexable=true, smallImage=false, smallImageId=37953, smallImageURL=, lastPublishDate=null, status=3, statusByUserId=20127, statusByUserName=Test Test, statusDate=2020-05-01 08:45:28.558}, {mvccVersion=2, ctCollectionId=0, uuid=8a7a0912-c7d3-39e8-4f0b-d23a3573d368, id=40570, resourcePrimKey=40571, groupId=40503, companyId=20099, userId=20127, userName=Test Test, createDate=2020-05-01 08:46:32.773, modifiedDate=2020-05-01 08:46:32.94, folderId=0, classNameId=0, classPK=0, treePath=/, articleId=40569, version=1.0, urlTitle=title-2, content=<?xml version="1.0"?>
           [exec] 
           [exec]     <root available-locales="es_ES,en_US,de_DE" default-locale="en_US">
           [exec]     	<request/>
           [exec]     	<dynamic-element index-type="keyword" name="name" type="text">
           [exec]     		<dynamic-content language-id="es_ES"><![CDATA[content]]></dynamic-content>
           [exec]     		<dynamic-content language-id="en_US"><![CDATA[content]]></dynamic-content>
           [exec]     		<dynamic-content language-id="de_DE"><![CDATA[content]]></dynamic-content>
           [exec]     	</dynamic-element>
           [exec]     </root>, DDMStructureKey=40558, DDMTemplateKey=40564, defaultLanguageId=en_US, layoutUuid=, displayDate=2020-05-01 08:46:00.0, expirationDate=2020-05-01 08:46:32.94, reviewDate=null, indexable=true, smallImage=false, smallImageId=40572, smallImageURL=, lastPublishDate=null, status=3, statusByUserId=20127, statusByUserName=Test Test, statusDate=2020-05-01 08:46:32.94}, {mvccVersion=5, ctCollectionId=0, uuid=e58b5b17-5fb6-52e2-2f7a-31e03e3a853b, id=56570, resourcePrimKey=56571, groupId=56521, companyId=20099, userId=1234, userName=Test Test, createDate=2020-05-01 08:48:31.287, modifiedDate=2020-05-01 08:48:31.338, folderId=56552, classNameId=0, classPK=0, treePath=/56552/, articleId=/56582, version=0.0, urlTitle=test-article-2, content=<?xml version="1.0"?>
           [exec] 
           [exec]     <title>Article 3</title>, DDMStructureKey=56531, DDMTemplateKey=56536, defaultLanguageId=en_US, layoutUuid=, displayDate=1965-02-01 00:00:00.0, expirationDate=2020-04-30 08:48:31.315, reviewDate=2020-04-30 08:48:31.315, indexable=true, smallImage=false, smallImageId=56572, smallImageURL=, lastPublishDate=null, status=8, statusByUserId=20127, statusByUserName=Test Test, statusDate=2020-05-01 08:48:31.326}] expected:<1> but was:<3>
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                10 weeks, 6 days ago

                Packages

                Version Package