[ 
https://issues.apache.org/jira/browse/SLING-10366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342049#comment-17342049
 ] 

Eric Norman commented on SLING-10366:
-------------------------------------

[~olli] Can we rollback this revision until there is a released version of 
org.apache.sling.servlets.post that functions with these changes and the 
starter is updated to use that released version?  I believe what you are seeing 
are caused by the changes for SLING-10087 

Your updates don't work with the org.apache.sling.servlets.post version 2.4.2 
that is currently used by the starter project.

> Adjust HTTP status codes for SlingPostServlet integration tests
> ---------------------------------------------------------------
>
>                 Key: SLING-10366
>                 URL: https://issues.apache.org/jira/browse/SLING-10366
>             Project: Sling
>          Issue Type: Task
>          Components: Servlets, Testing
>            Reporter: Oliver Lietz
>            Assignee: Oliver Lietz
>            Priority: Minor
>             Fix For: Launchpad Integration Tests 12
>
>
> Failures caused by {{org.apache.sling.servlets.post}} {{2.4.3-SNAPSHOT}}:
> {noformat}
> [ERROR] Failures: 
> [ERROR]   
> PostServletAtCopyTest.testCopyAncestor:232->HttpTestBase.assertPostStatus:412 
> Expecting status 500 expected:<500> but was:<409>
> [ERROR]   
> PostServletCopyTest.testCopyAncestor:619->HttpTestBase.assertPostStatus:412 
> Expecting status 500 expected:<500> but was:<409>
> [ERROR]   
> PostServletCreateTest.testCreateNodeWithInvalidExactName:196->HttpTestBase.assertPostStatus:410
>  expected:<500> but was:<409>
> [ERROR]   
> PostServletCreateTest.testCreatingNodeUnderFile:255->HttpTestBase.assertPostStatus:412
>  Response to creating a child under nt:file should fail. expected:<500> but 
> was:<409>
> [ERROR]   
> PostServletImportTest.testImportAutoCheckoutNodes:326->HttpTestBase.assertPostStatus:412
>  Expected error from VersionException expected:<500> but was:<409>
> [ERROR]   
> PostServletImportTest.testImportNodeWithInvalidExactName:765->HttpTestBase.assertPostStatus:410
>  expected:<500> but was:<409>
> [INFO] 
> [ERROR] Tests run: 665, Failures: 6, Errors: 0, Skipped: 1
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to