Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 26782 invoked from network); 15 Aug 2006 07:55:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Aug 2006 07:55:09 -0000 Received: (qmail 84332 invoked by uid 500); 15 Aug 2006 07:55:08 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 84307 invoked by uid 500); 15 Aug 2006 07:55:08 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 84298 invoked by uid 99); 15 Aug 2006 07:55:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 00:55:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 00:55:08 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BAE7741001E for ; Tue, 15 Aug 2006 07:52:14 +0000 (GMT) Message-ID: <25733753.1155628334763.JavaMail.jira@brutus> Date: Tue, 15 Aug 2006 00:52:14 -0700 (PDT) From: "angela (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-416) Webdav Simple: Delegate PROPPATCH to (extended) IOHandlers In-Reply-To: <33191110.1146220718113.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JCR-416?page=all ] angela resolved JCR-416. ------------------------ Resolution: Fixed commited changes with rev. 431546 : server/io package: - new interfaces PropertyManager, PropertyHandler, PropertyImportContext, PropertyExportContext. - the IOHandler implementations present in the io package now also implement PropertyHandler. - DefaultHandler: content nodetype was changed from 'nt:resource' to 'nt:unstructured' . While nt:resource only allows a predefined set of properties, nt:unstructured contains a residual property definition. webdav/simple package: - extend ResourceConfig in order to allow specification of a PropertyManager and a set of PropertyHandlers to be used. - adjust DavResourceImpl: export and import of properties in response to PROPFIND and PROPPATCH are delegated to the PropertyManager. This allows to let the PropertyHandler decide which properties are exported/imported and how those are stored. webapp: - adjust config.xml accordingly > Webdav Simple: Delegate PROPPATCH to (extended) IOHandlers > ---------------------------------------------------------- > > Key: JCR-416 > URL: http://issues.apache.org/jira/browse/JCR-416 > Project: Jackrabbit > Issue Type: New Feature > Components: webdav > Affects Versions: 1.0 > Reporter: angela > Assigned To: angela > > complete description: > http://article.gmane.org/gmane.comp.apache.jackrabbit.devel/6582 > Proposed solution > ------------------------------------------------------------------------------------------------------------------------------------ > The situation described before leads me to the following conclusion: > - IOHandler should not only read/write resource data and properties during GET, PUT, PROPFIND but should > also take care of setting/removing properties upon PROPPATCH. > - Since the previous suggestion would still limit the properties to (jcr:encoding, jcr:mimeType and > jcr:lastModified), we may think about changing the default nodetype for the jcr:content node to > nt:unstructured. > I guess this would meet the requirements for those expecting a webDAV server that is (as a first step) > not limited regarding PROPPATCH. Second it would allow to have a handling of property modifications > which is specific for individual resource types instead of trying to set all properties to the uppermost node. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira