You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2010/05/31 15:26:37 UTC

[jira] Created: (SLING-1540) espblog sample: "currentNode" is not defined

espblog sample: "currentNode" is not defined
--------------------------------------------

                 Key: SLING-1540
                 URL: https://issues.apache.org/jira/browse/SLING-1540
             Project: Sling
          Issue Type: Bug
          Components: Samples
            Reporter: Bertrand Delacretaz
            Assignee: Bertrand Delacretaz
            Priority: Minor


Starting the espblog sample and navigating to /content/espblog/posts/*.edit.html returns a ReferenceError: "currentNode" is not defined. 

That's because the currentNode variable is now only provided if an actual node exists, and that's not the case with the star resource.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-1540) espblog sample: "currentNode" is not defined

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-1540.
----------------------------------------

    Resolution: Fixed

Fixed in revision 949738

> espblog sample: "currentNode" is not defined
> --------------------------------------------
>
>                 Key: SLING-1540
>                 URL: https://issues.apache.org/jira/browse/SLING-1540
>             Project: Sling
>          Issue Type: Bug
>          Components: Samples
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>
> Starting the espblog sample and navigating to /content/espblog/posts/*.edit.html returns a ReferenceError: "currentNode" is not defined. 
> That's because the currentNode variable is now only provided if an actual node exists, and that's not the case with the star resource.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.