[jira] [Updated] (SLING-1648) Node move with :replace fails
[ https://issues.apache.org/jira/browse/SLING-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated SLING-1648: Affects Version/s: (was: Servlets Post 2.0.4) Component/s: (was: Servlets) > Node move with :replace fails > - > > Key: SLING-1648 > URL: https://issues.apache.org/jira/browse/SLING-1648 > Project: Sling > Issue Type: Bug >Reporter: daniel parry >Assignee: Eric Norman > Attachments: SLING-1648.patch > > > Following docs at > http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html > In trunk, Revision: 984520, steps to reproduce error: > curl -uadmin:admin -Ftitle="test" -Ftext="test" http://localhost:8080/test1 > curl -uadmin:admin -Ftitle="test" -Ftext="test" http://localhost:8080/test2 > curl -uadmin:admin -F":operation=move" -F:dest="/test2" > http://localhost:8080/test1 (Not allowed to move without :replace as expected) > curl -uadmin:admin -F":operation=move" -F":replace=true" -F:dest="/test2" > http://localhost:8080/test1 (This should work with :replace specified) > However, error encountered: > > > Error while processing /test1 > > > Error while processing /test1 > > > > Status > 500 > > > Message > javax.jcr.PathNotFoundException: > /test2 > > > Location > /test1 > > > Parent Location > / > > > Path > /test1 > > > Referer > > > > ChangeLog > > > > > Go Back > Modified Resource > Parent of Modified Resource > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (SLING-1648) Node move with :replace fails
[ https://issues.apache.org/jira/browse/SLING-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman updated SLING-1648: --- Attachment: SLING-1648.patch proposed patch > Node move with :replace fails > - > > Key: SLING-1648 > URL: https://issues.apache.org/jira/browse/SLING-1648 > Project: Sling > Issue Type: Bug > Components: Servlets >Affects Versions: Servlets Post 2.0.4 >Reporter: daniel parry >Assignee: Eric Norman > Attachments: SLING-1648.patch > > > Following docs at > http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html > In trunk, Revision: 984520, steps to reproduce error: > curl -uadmin:admin -Ftitle="test" -Ftext="test" http://localhost:8080/test1 > curl -uadmin:admin -Ftitle="test" -Ftext="test" http://localhost:8080/test2 > curl -uadmin:admin -F":operation=move" -F:dest="/test2" > http://localhost:8080/test1 (Not allowed to move without :replace as expected) > curl -uadmin:admin -F":operation=move" -F":replace=true" -F:dest="/test2" > http://localhost:8080/test1 (This should work with :replace specified) > However, error encountered: > > > Error while processing /test1 > > > Error while processing /test1 > > > > Status > 500 > > > Message > javax.jcr.PathNotFoundException: > /test2 > > > Location > /test1 > > > Parent Location > / > > > Path > /test1 > > > Referer > > > > ChangeLog > > > > > Go Back > Modified Resource > Parent of Modified Resource > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (SLING-1648) Node move with :replace fails
[ https://issues.apache.org/jira/browse/SLING-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-1648: Affects Version/s: Servlets Post 2.0.4 Component/s: Servlets > Node move with :replace fails > - > > Key: SLING-1648 > URL: https://issues.apache.org/jira/browse/SLING-1648 > Project: Sling > Issue Type: Bug > Components: Servlets >Affects Versions: Servlets Post 2.0.4 >Reporter: daniel parry > > Following docs at > http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html > In trunk, Revision: 984520, steps to reproduce error: > curl -uadmin:admin -Ftitle="test" -Ftext="test" http://localhost:8080/test1 > curl -uadmin:admin -Ftitle="test" -Ftext="test" http://localhost:8080/test2 > curl -uadmin:admin -F":operation=move" -F:dest="/test2" > http://localhost:8080/test1 (Not allowed to move without :replace as expected) > curl -uadmin:admin -F":operation=move" -F":replace=true" -F:dest="/test2" > http://localhost:8080/test1 (This should work with :replace specified) > However, error encountered: > > > Error while processing /test1 > > > Error while processing /test1 > > > > Status > 500 > > > Message > javax.jcr.PathNotFoundException: > /test2 > > > Location > /test1 > > > Parent Location > / > > > Path > /test1 > > > Referer > > > > ChangeLog > > > > > Go Back > Modified Resource > Parent of Modified Resource > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.