jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1932) Session.getAttributes( ) call always returns an empty array
Date Mon, 16 Feb 2009 16:15:00 GMT

     [ https://issues.apache.org/jira/browse/JCR-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting updated JCR-1932:
-------------------------------

    Affects Version/s:     (was: core 1.4.8)
                           (was: core 1.4.7)
                           (was: core 1.4.6)
                           (was: core 1.4.5)
                           (was: core 1.4.4)
                           (was: core 1.4.3)
                           (was: core 1.4.2)
                           (was: core 1.4.1)
                           (was: 1.3.4)
                           (was: 1.3.3)
                           (was: 1.3.1)
                           (was: 1.2.3)
                           (was: 1.2.2)
                           (was: 1.1.1)
                           (was: 1.0.1)
                       0.9

In revision 744954 I added a protected SessionImpl.setAttribute method for this purpose. This
avoids having to pass stuff through multiple methods and constructors.

> Session.getAttributes( ) call always returns an empty array
> -----------------------------------------------------------
>
>                 Key: JCR-1932
>                 URL: https://issues.apache.org/jira/browse/JCR-1932
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 0.9, 1.0, 1.1, 1.2.1, 1.3, 1.4, 1.5.0, 1.5.2
>            Reporter: alessandro cosenza
>            Assignee: Jukka Zitting
>            Priority: Minor
>         Attachments: bug.txt
>
>
> Repository repository = new RMIRemoteRepository("//localhost:1099/jackrabbit.repository");
> SimpleCredentials c = new SimpleCredentials("alex","ok".toCharArray());
> c.setAttribute("anAttribute", "aValue");
> Session s = repository.login(c, "aWorkspace");
> String[]attr=s.getAttributeNames();
> array attr is empty.
> according to docs it should contains attributes from the SimpleCredentials object.

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


Mime
View raw message