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

DLFileEntryIndexerIndexedFieldsTest#testIndexedFields is failing

    Details

      Description

      DLFileEntryIndexerIndexedFieldsTest#testIndexedFields

           [exec] com.liferay.document.library.search.test.DLFileEntryIndexerIndexedFieldsTest > testIndexedFields FAILED
           [exec]     org.junit.ComparisonFailure: ??->[classNameId=0, classPK=0, classTypeId=0, companyId=20102, content_ja_JP=????, createDate=20190506205528, createDate_sortable=1557176128165, dataRepositoryId=39288, entryClassName=com.liferay.document.library.kernel.model.DLFileEntry, entryClassPK=39300, expirationDate=99950812133000, expirationDate_sortable=9223372036854775807, extension=txt, extension_String_sortable=txt, fileEntryTypeId=0, folderId=0, groupId=39288, groupRoleId=39288-20117, hidden=false, localized_title=content_search.txt, localized_title_ar_SA=content_search.txt, localized_title_ar_SA_sortable=content_search.txt, localized_title_ca_ES=content_search.txt, localized_title_ca_ES_sortable=content_search.txt, localized_title_de_DE=content_search.txt, localized_title_de_DE_sortable=content_search.txt, localized_title_en_US=content_search.txt, localized_title_en_US_sortable=content_search.txt, localized_title_es_ES=content_search.txt, localized_title_es_ES_sortable=content_search.txt, localized_title_fi_FI=content_search.txt, localized_title_fi_FI_sortable=content_search.txt, localized_title_fr_FR=content_search.txt, localized_title_fr_FR_sortable=content_search.txt, localized_title_hu_HU=content_search.txt, localized_title_hu_HU_sortable=content_search.txt, localized_title_ja_JP=content_search.txt, localized_title_ja_JP_sortable=content_search.txt, localized_title_nl_NL=content_search.txt, localized_title_nl_NL_sortable=content_search.txt, localized_title_pt_BR=content_search.txt, localized_title_pt_BR_sortable=content_search.txt, localized_title_sv_SE=content_search.txt, localized_title_sv_SE_sortable=content_search.txt, localized_title_zh_CN=content_search.txt, localized_title_zh_CN_sortable=content_search.txt, mimeType=text_plain, mimeType_String_sortable=text_plain, modified=20190506205528, modified_sortable=1557176128177, path=content_search.txt, priority=0.0, properties=content_search, publishDate=20190506205528, publishDate_sortable=1557176128165, readCount=0, roleId=[20109, 20110], scopeGroupId=39288, size=12, size_sortable=12, stagingGroup=false, status=0, title=content_search.txt, title_sortable=content_search.txt, treePath=, uid=com.liferay.document.library.kernel.model.DLFileEntry_PORTLET_39300, userId=39292, userName=ht5nomzu fmlnktyo, viewCount=0, viewCount_sortable=0, visible=true] expected:<...RepositoryId=39288, [ddmContent=text/plain; charset=UTF-8 UTF-8, ddm__text__38101__HttpHeaders_CONTENT_ENCODING_en_US=UTF-8, ddm__text__38101__HttpHeaders_CONTENT_ENCODING_en_US_String_sortable=utf-8, ddm__text__38101__HttpHeaders_CONTENT_TYPE_en_US=text/plain; charset=UTF-8, ddm__text__38101__HttpHeaders_CONTENT_TYPE_en_US_String_sortable=text/plain; charset=utf-8, ]entryClassName=com.l...> but was:<...RepositoryId=39288, []entryClassName=com.l...>
           [exec]         at org.junit.Assert.assertEquals(Assert.java:115)
           [exec]         at com.liferay.portal.search.test.util.AssertUtils.assertEquals(AssertUtils.java:47)
           [exec]         at com.liferay.portal.search.test.util.FieldValuesAssert.assertFieldValues(FieldValuesAssert.java:35)
           [exec]         at com.liferay.document.library.search.test.DLFileEntryIndexerIndexedFieldsTest.testIndexedFields(DLFileEntryIndexerIndexedFieldsTest.java:130)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:206)
           [exec]         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
           [exec]         at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]         at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 12 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 DXP FP93
                7.0.10.14 DXP SP14
                7.0.X
                7.1.10 DXP FP14
                7.1.X
                Master