[MGNLSTK-1356] STKTemplatingFunctionForAssetTest.testGetAssetLink() can not be passed in China Created: 17/Feb/14  Updated: 02/Jul/18  Resolved: 02/Jul/18

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: build
Affects Version/s: None
Fix Version/s: 2.7.x

Type: Bug Priority: Neutral
Reporter: Peili Liang Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

In China, when you execute 'mvn clean install' on STK module, STKTemplatingFunctionForAssetTest.testGetAssetLink() won't be passed.
It should support correct timezone to Date '2012-02-17-10-02-51'.

execute result:

org.junit.ComparisonFailure: expected:<.../image1.2012-02-17-1[0]-02-51> but was:<.../image1.2012-02-17-1[7]-02-51>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at info.magnolia.module.templatingkit.functions.STKTemplatingFunctionForAssetTest.testGetAssetLink(STKTemplatingFunctionForAssetTest.java:140)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


 Comments   
Comment by Jan Haderka [ 02/Jul/18 ]

STK have been deprecated in September 2017. As part of this project nearing end-of-life, we are not planning to fix any of the existing issues except for the critical security issues. For more details, please consult documentation.

Generated at Mon Feb 12 07:35:48 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.