-
Task
-
Resolution: Fixed
-
Critical
-
4.4
-
None
-
-
Empty show more show less
-
Empty show more show less
Integration-tests have been failing since MAGNOLIA-3716 has been fixed. Encoding redirect URI has the side effect that - in case cookies are not activated - any redirect will add the jsessionid - this is currently not foreseen in the test.
Full error trace:
org.junit.ComparisonFailure: adminCentral redirect is not setup? expected:<...es/adminCentral.html[]> but was:<...es/adminCentral.html[;jsessionid=71ae4c9utppz]>
at org.junit.Assert.assertEquals(Assert.java:123)
at info.magnolia.testframework.htmlunit.AbstractMagnoliaIntegrationTest.assertRedirected(AbstractMagnoliaIntegrationTest.java:209)
at info.magnolia.integrationtests.MostBasicTest.loginOnAuthorInstanceWithSuperuser(MostBasicTest.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
- caused by
-
MAGNOLIA-3716 VirtualUriFilter does not encode redirect Uri
- Closed
- is related to
-
MAGNOLIA-3841 Mime type resolution fails when running in jetty due to ;jsessionid being included in the path
- Closed