You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/02/16 17:23:00 UTC

[jira] Resolved: (JCR-1932) Session.getAttributes( ) call always returns an empty array

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

Jukka Zitting resolved JCR-1932.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0

The protected setAttributes() method is a bit too much like an API enhancement to my taste, so I'd rather schedule this fix for release in Jackrabbit 1.6.0 instead of in 1.5.x.

However, if someone needs this functionality already in a 1.5.x release, then I wouldn't be too opposed to merging the change there.

> 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
>             Fix For: 1.6.0
>
>         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.