What steps will reproduce the problem?
- create or update a node via the trunk version of jcr-repository-svc
- see client side request and response below
- see server log message below
What is the expected output? What do you see instead?
- expected 200 OK and possibly the properties of the created/updated node
- actual: 500 Internal Server Error but the node was created/updated correctly
on the server
~>post_sage /addama/repositories/sage-content-repo/demo2/datasets/TestNode6
JSON '{"this":"is an update"}'
param size: 2
index: 0
name: JSON
value: {"this":"is an update"}
POST
https://deflaux-test3.appspot.com/addama/repositories/sage-content-repo/demo2/da
tasets/TestNode6
params: JSON=%7B%22this%22%3A%22is+an+update%22%7D
500 Internal Server Error
DEBUG [http-8080-2] 19:06:25,914 AbstractApplicationContext - Publishing event i
n context [org.springframework.web.context.support.XmlWebApplicationContext@aae8
a]: ServletRequestHandledEvent: url=[/jcr-repositories-svc/addama/repositories/s
age-content-repo/demo2/datasets/TestNode6]; client=[64.233.172.20]; method=[POST
]; servlet=[jcrrepos]; session=[null]; user=[null]; time=[99ms]; status=[failed:
javax.servlet.ServletException: Could not resolve view with name 'addama/reposi
tories/sage-content-repo/demo2/datasets/TestNode6' in servlet with name 'jcrrepo
s']
~>post_sage /addama/repositories/sage-content-repo/demo2/datasets/TestNode7
JSON '{"this":"is a new node"}'
param size: 2
index: 0
name: JSON
value: {"this":"is a new node"}
POST
https://deflaux-test3.appspot.com/addama/repositories/sage-content-repo/demo2/da
tasets/TestNode7
params: JSON=%7B%22this%22%3A%22is+a+new+node%22%7D
500 Internal Server Error
DEBUG [http-8080-2] 19:06:59,124 AbstractApplicationContext - Publishing event
in context
[org.springframework.web.context.support.XmlWebApplicationContext@aae8a]:
ServletRequestHandledEvent:
url=[/jcr-repositories-svc/addama/repositories/sage-content-repo/demo2/datasets/
TestNode7]; client=[64.233.172.20]; method=[POST]; servlet=[jcrrepos];
session=[null]; user=[null]; time=[79ms]; status=[failed:
javax.servlet.ServletException: Could not resolve view with name
'addama/repositories/sage-content-repo/demo2/datasets/TestNode7' in servlet
with name 'jcrrepos']
'
Original issue reported on code.google.com by nicole.d...@gtempaccount.com on 4 Nov 2010 at 7:13
Original issue reported on code.google.com by
nicole.d...@gtempaccount.com
on 4 Nov 2010 at 7:13