You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2009/10/09 10:44:31 UTC

[jira] Created: (SLING-1142) Script Session is not used inside DefaultSlingScript

Script Session is not used inside DefaultSlingScript
----------------------------------------------------

                 Key: SLING-1142
                 URL: https://issues.apache.org/jira/browse/SLING-1142
             Project: Sling
          Issue Type: Bug
    Affects Versions: Scripting Core 2.0.6
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Scripting Core 2.0.8


The new script session is not used in all internal places inside the DefaultSlingScript - in some cases the user session is used to read the script which results in erorrs

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


[jira] Closed: (SLING-1142) Script Session is not used inside DefaultSlingScript

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

Carsten Ziegeler closed SLING-1142.
-----------------------------------


> Script Session is not used inside DefaultSlingScript
> ----------------------------------------------------
>
>                 Key: SLING-1142
>                 URL: https://issues.apache.org/jira/browse/SLING-1142
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting Core 2.0.6
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Scripting Core 2.0.8
>
>
> The new script session is not used in all internal places inside the DefaultSlingScript - in some cases the user session is used to read the script which results in erorrs

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


[jira] Updated: (SLING-1142) Script Session is not used inside DefaultSlingScript

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

Carsten Ziegeler updated SLING-1142:
------------------------------------

    Component/s: Scripting

> Script Session is not used inside DefaultSlingScript
> ----------------------------------------------------
>
>                 Key: SLING-1142
>                 URL: https://issues.apache.org/jira/browse/SLING-1142
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting Core 2.0.6
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Scripting Core 2.0.8
>
>
> The new script session is not used in all internal places inside the DefaultSlingScript - in some cases the user session is used to read the script which results in erorrs

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


[jira] Resolved: (SLING-1142) Script Session is not used inside DefaultSlingScript

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

Carsten Ziegeler resolved SLING-1142.
-------------------------------------

    Resolution: Fixed

Fixed in Revision: 823458. The instance variable scriptResource is now used in all places except for the public method getScriptResource()
This ensures that the script admin session is used internally while the current user only gets the resource resolved with his own session (to avoid security problems)

> Script Session is not used inside DefaultSlingScript
> ----------------------------------------------------
>
>                 Key: SLING-1142
>                 URL: https://issues.apache.org/jira/browse/SLING-1142
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting Core 2.0.6
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Scripting Core 2.0.8
>
>
> The new script session is not used in all internal places inside the DefaultSlingScript - in some cases the user session is used to read the script which results in erorrs

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