El 16 de marzo de 2009 20:17, Juan José Vázquez Delgado <
[email protected]> escribió:
> > For example, thorugh the browser:
> > http.//localhost:8888/content/mycontent/jcr:created
>
> What do you get when try this?:
>
> http.//localhost:8888/content/mycontent.txt
The property isn't there
** Resource dumped by StreamRendererServlet**
Resource path:/content/mycontent
Resource metadata: {sling.resolutionPathInfo=,
sling.resolutionPath=/content/mycontent}
** Resource properties **
title: My content title
size:
sling:resourceType: gad/mycontent
jcr:primaryType: nt:unstructured
cr:lastModifiedBy:
jcr:createdBy:
jcr:lastModified:
But the other properties (lastModified, lastModifiedBy and createdBy) are
there.
>
>
> In the other hand, have you any error in Sling log?
There is an error log,
16.03.2009 18:43:32.127 *INFO* [127.0.0.1 [1237225412124] GET
/mycontent/jcr:created HTTP/1.1]
org.apache.sling.jcr.resource.internal.helper.jcr.JcrNodeResource
setMetaData: Problem extracting metadata information for /content/mycontent/
javax.jcr.ValueFormatException: conversion to long failed: For input string:
"": For input string: ""
It is strange because the property jcr:lastModified is similar to
jcr:created and doesn't cause any error.
>
>
> BR,
>
> Juanjo.
>