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

DLFileEntryFileNameSearchTest.testExtensionAloneSubstringMatchesExtensionAndPathFields() Fails with Solr

    Details

    • Fix Priority:
      3

      Description

      Stacktrace:

      org.junit.ComparisonFailure: fq=%2BcompanyId:20097+%2B(%2BgroupId:(45287)+%2BscopeGroupId:(45287))+%2B((%2BentryClassName:com.liferay.document.library.kernel.model.DLFileEntry+%2Bhidden:false+%2Bhidden:false+%2Bstatus:(0)+%2Bstatus:(0)))&q=%2B((%2Bcomments:jp+comments:"jp"~50+(comments:"jp")^2.0)+(%2Bcontent:jp+content:"jp"~50+(content:"jp")^2.0)+(%2Bdescription:jp+description:"jp"~50+(description:"jp")^2.0)+(%2Bproperties:jp+properties:"jp"~50+(properties:"jp")^2.0)+(%2B(title:jp+title:jp*)+(title:"jp")^2.0)+(%2Burl:jp+url:"jp"~50+(url:"jp")^2.0)+(userName:*jp*)+(%2BassetCategoryTitles_en_US:jp+assetCategoryTitles_en_US:"jp"~50+(assetCategoryTitles_en_US:"jp")^2.0)+(%2B(assetTagNames_en_US:jp+assetTagNames_en_US:jp*)+(assetTagNames_en_US:"jp")^2.0)+(%2BddmContent:jp+ddmContent:"jp"~50+(ddmContent:"jp")^2.0)+(%2Bextension:jp+extension:"jp"~50+(extension:"jp")^2.0)+(%2BfileEntryTypeId:jp+fileEntryTypeId:"jp"~50+(fileEntryTypeId:"jp")^2.0)+(path:*jp*)+(%2Bcontent_en_US:jp+content_en_US:"jp"~50+(content_en_US:"jp")^2.0))&fl=uid,companyId,entryClassPK,entryClassName,scopeGroupId,groupId,assetTagNames,modified,title,content&rows=10000&start=0->{uid=[com.liferay.document.library.kernel.model.DLFileEntry_PORTLET_45290], entryClassPK=[45290], companyId=[20097], entryClassName=[com.liferay.document.library.kernel.model.DLFileEntry], scopeGroupId=[45287], groupId=[45287], modified=[20190924212307], title=[One.jpg]}->[One.jpg] expected:<[One.jpg[, Two.JPG]]> but was:<[One.jpg[]]>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at com.liferay.portal.search.test.util.DocumentsAssert.assertValuesIgnoreRelevance(DocumentsAssert.java:87)
      	at com.liferay.document.library.search.test.DLFileEntryFileNameSearchTest.assertSearch(DLFileEntryFileNameSearchTest.java:245)
      	at com.liferay.document.library.search.test.DLFileEntryFileNameSearchTest.testExtensionAloneSubstringMatchesExtensionAndPathFields(DLFileEntryFileNameSearchTest.java:112)
      	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.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 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)
      

      Reproduced on:
      Portal master git commit: e4ff8da70e35609d3eba4413d0a429b812cd523f
      Portal 7.2.x git commit: 0d24fc2ab0fa0e9ba1e2d80b319d34330e55088f

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                joshua.chong Joshua Chong
                Participants of an Issue:
                Recent user:
                Joshua Chong
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  7 weeks ago

                  Packages

                  Version Package