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

Comparison failure in DLFileEntryIndexerIndexedFieldsTest.testIndexedFields with Solr

    Details

      Description

      DLFileEntryIndexerIndexedFieldsTest.testIndexedFields is failing with Solr, stacktrace:

      org.junit.ComparisonFailure: 新規->{entryClassPK=46500, localized_title_sv_SE=content_search.txt, groupId=46488, publishDate=20200803143450, mimeType=text_plain, readCount=0, createDate_sortable=1596465290993, classNameId=0, localized_title_nl_NL=content_search.txt, ddm__text__37364__HttpHeaders_CONTENT_TYPE_String_sortable=text/plain; charset=utf-8, extension_String_sortable=txt, score=1.1507283, path=content_search.txt, localized_title_zh_CN=content_search.txt, classPK=0, scopeGroupId=46488, localized_title_ar_SA_sortable=content_search.txt, modified=20200803143451, ddm__text__37364__HttpHeaders_CONTENT_ENCODING_String_sortable=utf-8, modified_sortable=1596465291008, localized_title_pt_BR=content_search.txt, localized_title_ca_ES_sortable=content_search.txt, mimeType_String_sortable=text_plain, localized_title_ca_ES=content_search.txt, localized_title_zh_CN_sortable=content_search.txt, localized_title_hu_HU_sortable=content_search.txt, localized_title_nl_NL_sortable=content_search.txt, visible=true, fileEntryTypeId=0, viewCount_sortable=0, priority=0.0, folderId=0, classTypeId=0, companyId=20099, size=12, localized_title_fr_FR=content_search.txt, localized_title_hu_HU=content_search.txt, status=0, ddm__text__37364__HttpHeaders_CONTENT_ENCODING=UTF-8, extension=txt, localized_title_pt_BR_sortable=content_search.txt, localized_title_fi_FI_sortable=content_search.txt, dataRepositoryId=46488, hidden=false, publishDate_sortable=1596465290993, priority_sortable=0.0, title=content_search.txt, ddm__text__37364__HttpHeaders_CONTENT_TYPE=text/plain; charset=UTF-8, uid=com.liferay.document.library.kernel.model.DLFileEntry_PORTLET_46500, localized_title_en_US_sortable=content_search.txt, localized_title_de_DE_sortable=content_search.txt, localized_title_fr_FR_sortable=content_search.txt, groupRoleId=46488-20116, title_sortable=content_search.txt, expirationDate_sortable=9223372036854775807, viewCount=0, localized_title_fi_FI=content_search.txt, localized_title_ja_JP=content_search.txt, localized_title_sv_SE_sortable=content_search.txt, size_sortable=12, expirationDate=2922789940817071255, createDate=20200803143450, localized_title_es_ES_sortable=content_search.txt, entryClassName=com.liferay.document.library.kernel.model.DLFileEntry, roleId=[20108, 20109], userName=9rzvboqr hkyythui, userId=46492, localized_title_ja_JP_sortable=content_search.txt, stagingGroup=false, localized_title=content_search.txt, localized_title_en_US=content_search.txt, localized_title_es_ES=content_search.txt, localized_title_ar_SA=content_search.txt, ddmContent=text/plain; charset=UTF-8 UTF-8, content_ja_JP=新規作成, treePath=, properties=content_search, localized_title_de_DE=content_search.txt} expected:<...set=UTF-8 UTF-8, ddm[FieldArray=[{ddmFieldName=ddm__text__37364__HttpHeaders_CONTENT_TYPE, ddmValueFieldName=ddmFieldValueText, ddmFieldValueText_String_sortable=text/plain; charset=utf-8, ddmFieldValueText=text/plain; charset=UTF-8}, {ddmFieldName=ddm__text__37364__HttpHeaders_CONTENT_ENCODING, ddmValueFieldName=ddmFieldValueText, ddmFieldValueText_String_sortable=utf-8, ddmFieldValueText=UTF-8}], entryClassName=com.liferay.document.library.kernel.model.DLFileEntry, entryClassPK=46500, expirationDate=2922789940817071255, expirationDate_sortable=9223372036854775807, extension=txt, extension_String_sortable=txt, fileEntryTypeId=0, folderId=0, groupId=46488, groupRoleId=46488-20116, 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=20200803143451, modified_sortable=1596465291008, path=content_search.txt, priority=0.0, priority_sortable=0.0, properties=content_search, publishDate=20200803143450, publishDate_sortable=1596465290993, readCount=0, roleId=[20108, 20109], scopeGroupId=46488], size=12, size_sort...> but was:<...set=UTF-8 UTF-8, ddm[__text__37364__HttpHeaders_CONTENT_ENCODING=UTF-8, ddm__text__37364__HttpHeaders_CONTENT_ENCODING_String_sortable=utf-8, ddm__text__37364__HttpHeaders_CONTENT_TYPE=text/plain; charset=UTF-8, ddm__text__37364__HttpHeaders_CONTENT_TYPE_String_sortable=text/plain; charset=utf-8, entryClassName=com.liferay.document.library.kernel.model.DLFileEntry, entryClassPK=46500, expirationDate=2922789940817071255, expirationDate_sortable=9223372036854775807, extension=txt, extension_String_sortable=txt, fileEntryTypeId=0, folderId=0, groupId=46488, groupRoleId=46488-20116, 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=20200803143451, modified_sortable=1596465291008, path=content_search.txt, priority=0.0, priority_sortable=0.0, properties=content_search, publishDate=20200803143450, publishDate_sortable=1596465290993, readCount=0, roleId=[20108, 20109], scopeGroupId=46488, score=1.1507283], size=12, size_sort...>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at com.liferay.portal.search.test.util.AssertUtils.assertEquals(AssertUtils.java:100)
      	at com.liferay.portal.search.test.util.AssertUtils.assertEquals(AssertUtils.java:88)
      	at com.liferay.portal.search.test.util.AssertUtils.assertEquals(AssertUtils.java:60)
      	at com.liferay.portal.search.test.util.FieldValuesAssert.assertFieldValues(FieldValuesAssert.java:110)
      	at com.liferay.document.library.search.test.DLFileEntryIndexerIndexedFieldsTest.testIndexedFields(DLFileEntryIndexerIndexedFieldsTest.java:134)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
      	at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
      	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
      	at java.lang.Thread.run(Thread.java:745) 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brooke.dalton Brooke Dalton
              Reporter:
              brooke.dalton Brooke Dalton
              Participants of an Issue:
              Recent user:
              Jason Pince
              Engineering Assignee:
              Bryan Engler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.2.10 DXP FP8
                  7.2.10.2 DXP SP3
                  7.2.X
                  7.3.5 CE GA6
                  7.3.10 DXP GA1
                  Master