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] Resolved: (JCR-1932) Session.getAttributes( ) call always returns an empty array
Date Mon, 16 Feb 2009 16:23:00 GMT

     [ 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.


Mime
View raw message