You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2005/07/26 21:36:41 UTC

DO NOT REPLY [Bug 35875] New: - Usecases don't lock resources

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35875>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35875

           Summary: Usecases don't lock resources
           Product: Lenya
           Version: Trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Miscellaneous
        AssignedTo: dev@lenya.apache.org
        ReportedBy: josias.thoeny@wyona.org


If a usecase like Paste or ChangeNodeID is invoked for a document with
resources, an error occurs: 
org.apache.lenya.cms.usecase.UsecaseException:
org.apache.lenya.cms.publication.PublicationException:
java.lang.RuntimeException: Cannot write to source
[lenya://lenya/pubs/default/resources/authoring/tutorial/new_doctype/foo.gif]:
not locked!

The problem seems to be that the usecases lock the sitetree and the documents,
but not the resources, and the resources cannot be written without being locked.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org