incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Koci (JIRA)" <>
Subject [jira] Created: (GRFT-73) Check locked node status in operations
Date Wed, 09 Nov 2005 21:07:04 GMT
Check locked node status in operations

         Key: GRFT-73
     Project: Graffito
        Type: Improvement
    Reporter: Martin Koci
    Priority: Critical

Many operations on Node throws LockException if node is locked. But current code doesnt reflect
this behaviour correctly: e.g. checkin:

			Node node = (Node) session.getItem(path);

			javax.jcr.version.Version newVersion = node.checkin(); // throws LockException if node


		}catch (RepositoryException e) { // Catch LockException  too !!
			throw new VersionException("Impossible to checkin the object " + path, e);


LockException -> VersionException? 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message