-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Thumbnail Service
-
Tags:
-
Team:FG
-
Sprint:nxFG 11.1.13
-
Story Points:1
On MongoDB since NXP-26690 we have:
org.junit.ComparisonFailure: expected : http://fake-url.nuxeo.com/api/v1/repo/test/id/00000000-0000-0000-0000-000000000000/@rendition/thumbnail?changeToken=null but was http://fake-url.nuxeo.com/api/v1/repo/test/id/00000000-0000-0000-0000-000000000000/@rendition/thumbnail?changeToken= expected:<...umbnail?changeToken=[null]> but was:<...umbnail?changeToken=[]> at org.junit.Assert.assertEquals(Assert.java:117) at org.nuxeo.ecm.core.io.marshallers.json.JsonAssert.isEquals(JsonAssert.java:279) at org.nuxeo.ecm.platform.thumbnail.test.ThumbnailJsonEnricherTest.testThumbnailURL(ThumbnailJsonEnricherTest.java:68)
This seems due to the fact that NXP-26690 slightly changed acquisition of the root document. The fix is simple.