You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Markus Joschko <ma...@gmail.com> on 2011/01/02 22:30:05 UTC
Error when trying slingbucks example
I just tried the slinbucks example and get that error when trying to
order a cup of coffee.
The only difference to the REAME is that I started sling from
launchpad/builder as the launchpad/testing doesn't seem to have
jetty:run target configured.
Error while processing
/content/slingbucks/public/orders/c852dcc78e797e57ce039b07326b8b6f
Status
500
Message
javax.jcr.AccessDeniedException:
/content/slingbucks/public/orders/c852dcc78e797e57ce039b07326b8b6f/opt_size:
not allowed to add or modify item
Location /slingbucks/public/orders/c852dcc78e797e57ce039b07326b8b6f
Parent Location /slingbucks/public/orders
Path
/content/slingbucks/public/orders/c852dcc78e797e57ce039b07326b8b6f
Referer http://localhost:8888/content/slingbucks/public/orders.html
ChangeLog
created("/content/slingbucks/public/orders/c852dcc78e797e57ce039b07326b8b6f");
modified("/content/slingbucks/public/orders/c852dcc78e797e57ce039b07326b8b6f/customerName");
modified("/content/slingbucks/public/orders/c852dcc78e797e57ce039b07326b8b6f/sling:resourceType");
modified("/content/slingbucks/public/orders/c852dcc78e797e57ce039b07326b8b6f/opt_cup");
modified("/content/slingbucks/public/orders/c852dcc78e797e57ce039b07326b8b6f/opt_coffeetype");
modified("/content/slingbucks/public/orders/c852dcc78e797e57ce039b07326b8b6f/lastModified");
modified("/content/slingbucks/public/orders/c852dcc78e797e57ce039b07326b8b6f/opt_sugar");
modified("/content/slingbucks/public/orders/c852dcc78e797e57ce039b07326b8b6f/opt_size");
Go Back
Modified Resource
Parent of Modified Resource
----
BTW, once in production, how can this error message be presented in a
more friendly way to the user?
Regards,
Marksu