|
|
Choosing A Webhost: |
Closed: (JCR-150) Node.getLock() on a lock non-lockable node throws javax.j: msg#00360apache.jackrabbit.devel
[ http://issues.apache.org/jira/browse/JCR-150?page=all ] Stefan Guggisberg closed JCR-150: --------------------------------- Resolution: Fixed fixed in rev. 202514 > Node.getLock() on a lock non-lockable node throws > javax.jcr.UnsupportedRepositoryOperationException > --------------------------------------------------------------------------------------------------- > > Key: JCR-150 > URL: http://issues.apache.org/jira/browse/JCR-150 > Project: Jackrabbit > Type: Bug > Environment: Jackrabbit SVN Rev. 202500 > Reporter: Felix Meschberger > Assignee: Stefan Guggisberg > > Consider Node "/test" with mixin type mix:lockable and Node "/test/child" > without mixin type mix:lockable. > Node root = Session.getRootNode(); > Node test = root.getNode("test"); > Node child = test.getNode("child"); > // create lock on /test > test.lock(); > // succeeds > Lock lock = test.getLock(); > // sets flag true > boolean locked = child.isLocked(); > // throws UnsupportedRepositoryOperationException > lock = child.getLock(); > According to the spec, the getLock() method must return the applicable lock > if the node is locked regardless of whether the node has mixin type > "mix:lockable" or not.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Benchmarking JCR, Jukka Zitting |
|---|---|
| Next by Date: | Re: Implementing JSR-170 as EJB Application, Jukka Zitting |
| Previous by Thread: | Assigned: (JCR-150) Node.getLock() on a lock non-lockable node throws javax.jcr.UnsupportedRepositoryOperationException, Stefan Guggisberg (JIRA) |
| Next by Thread: | Upgrade to JCR 1.0, Jukka Zitting |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |