[
https://issues.apache.org/jira/browse/SLING-3713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14074317#comment-14074317
]
Antonio Sanso commented on SLING-3713:
--------------------------------------
the issue here is that session.move() doesn't carry resourceAddedAttributes
properties. This is tracked in SLING-2529.
I have attached here a proposed patch I would like to apply. Once SLING-2529 is
solved I can improved this part of the code (I am going to open a new issue
that is blocked by SLING-2529 ).
Until then I would like to apply this patch [~cziegeler] [~justinedelson] might
ypu please give a look at the patch? :)
> VanityPathTest testRedirectOnPathWithExtension fails: Expecting temporary
> redirect expected:<302> but was:<404>
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SLING-3713
> URL: https://issues.apache.org/jira/browse/SLING-3713
> Project: Sling
> Issue Type: Bug
> Components: ResourceResolver
> Reporter: Robert Munteanu
> Assignee: Antonio Sanso
> Fix For: Resource Resolver 1.1.2
>
> Attachments: SLING-3713-patch.txt
>
>
> This failure was first seen in
> [https://builds.apache.org/view/S-Z/view/Sling/job/sling-trunk-1.7/612|sling-trunk-1.7
> build 612] - rev 1606740 .
> {code}Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.142
> sec <<< FAILURE! - in
> org.apache.sling.launchpad.webapp.integrationtest.VanityPathTest
> testRedirectOnPathWithExtension(org.apache.sling.launchpad.webapp.integrationtest.VanityPathTest)
> Time elapsed: 0.546 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Expecting temporary redirect
> expected:<302> but was:<404>
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.failNotEquals(Assert.java:329)
> at junit.framework.Assert.assertEquals(Assert.java:78)
> at junit.framework.Assert.assertEquals(Assert.java:234)
> at junit.framework.TestCase.assertEquals(TestCase.java:401)
> at
> org.apache.sling.launchpad.webapp.integrationtest.VanityPathTest.testRedirectOnPathWithExtension(VanityPathTest.java:186){code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)