You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Wally <wa...@gmail.com> on 2011/11/22 11:12:21 UTC
Node creation error
Hi all,
I try to create a node via the Sling Explorer, but I get the following error:
"failed to expand path myProjectName"
... and the node is created.
Could somebody give me some tips to fix the problem?
Many thanks.
Re: Node creation error
Posted by Antonio Sanso <as...@adobe.com>.
Hi Wally,
I could reproduce as well. I actually have always:
"Syntax error, unrecognized expression:#*"
I think this might be some JQuery issue maybe related to
$.ajax({ url: '<%=(path == '/') ? '' : path%>/*',
Note the * at the end of the path (this is from the node.esp in the explorer bundle).
This might deserve a Jira (??)
Regards
Antonio
On Nov 22, 2011, at 11:45 AM, Wally wrote:
You're right, it wasn't clear enough...
Download Sling Standalone application. Run it.
Then open the explorer:
http://localhost:8080/.explorer.html
Log as admin.
Try to create a node via the explorer with:
Name hint : test
sling:resourceType : test (or nothing)
jcr:primaryType : nt:unstructured
... that's it.
Sometimes, instead of "failed to expand path projectName", I get "Syntax error, unrecognized expression:"
On 22 nov. 2011, at 11:26, Bertrand Delacretaz wrote:
Hi,
On Tue, Nov 22, 2011 at 11:12 AM, Wally <wa...@gmail.com> wrote:
...I try to create a node via the Sling Explorer, but I get the following error:
"failed to expand path myProjectName"
... and the node is created.
How can we reproduce your problem? What did you do exactly?
-Bertrand
Re: Node creation error
Posted by Wally <wa...@gmail.com>.
You're right, it wasn't clear enough...
Download Sling Standalone application. Run it.
Then open the explorer:
http://localhost:8080/.explorer.html
Log as admin.
Try to create a node via the explorer with:
Name hint : test
sling:resourceType : test (or nothing)
jcr:primaryType : nt:unstructured
... that's it.
Sometimes, instead of "failed to expand path projectName", I get "Syntax error, unrecognized expression:"
On 22 nov. 2011, at 11:26, Bertrand Delacretaz wrote:
> Hi,
>
> On Tue, Nov 22, 2011 at 11:12 AM, Wally <wa...@gmail.com> wrote:
>> ...I try to create a node via the Sling Explorer, but I get the following error:
>> "failed to expand path myProjectName"
>> ... and the node is created.
>
> How can we reproduce your problem? What did you do exactly?
>
> -Bertrand
Re: Node creation error
Posted by Bertrand Delacretaz <bd...@apache.org>.
Hi,
On Tue, Nov 22, 2011 at 11:12 AM, Wally <wa...@gmail.com> wrote:
> ...I try to create a node via the Sling Explorer, but I get the following error:
> "failed to expand path myProjectName"
> ... and the node is created.
How can we reproduce your problem? What did you do exactly?
-Bertrand