You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Jacob Lund <ja...@qualiware.com> on 2002/10/29 11:30:49 UTC

XMLFileDescriptorsStore does not delete data

Hi all!

I am using the XMLFileDescriptorsStore for storing my metadata and the
FileContentStore for the binary content!

If put a file in the /files collection and the delete it again then the
.def.xml file is not removed from the  metadatastore! I don't know if
this is a bug - but if the try to put a file with the same name in the
/files collection then the server fails!

Am I doing something wrong??

Thanks
Jacob

Here is some info from my domain.xml:
...
		<definition>
			<store name="j2ee">
				<nodestore
classname="slidestore.file.XMLFileDescriptorsStore">
					<parameter
name="rootpath">f:/metadatastore</parameter>
				</nodestore>
				<securitystore>
					<reference store="nodestore"/>
				</securitystore>
				<lockstore>
					<reference store="nodestore"/>
				</lockstore>
				<revisiondescriptorsstore>
					<reference store="nodestore"/>
				</revisiondescriptorsstore>
				<revisiondescriptorstore>
					<reference store="nodestore"/>
				</revisiondescriptorstore>
				<contentstore
classname="slidestore.reference.FileContentStore">
					<parameter
name="rootpath">f:/contentstore</parameter>
					<parameter
name="resetBeforeStarting">false</parameter>
					<parameter
name="versioning">false</parameter>
				</contentstore>
			</store>
			<scope match="/" store="j2ee"/>
		</definition>
...
	<parameter name="historypath">/history</parameter>
	<parameter name="workspacepath">/workspace</parameter>
	<parameter
name="workingresourcepath">/workingresource</parameter>
	<parameter name="auto-version">checkout-checkin</parameter>
	<parameter name="auto-version-control">false</parameter>
	<parameter name="versioncontrol-exclude"/>
	<parameter name="checkout-fork">forbidden</parameter>
	<parameter name="checkin-fork">forbidden</parameter>
...


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: XMLFileDescriptorsStore does not delete data

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
This is a bug in the XMLFileDescriptorsStore. See Bugzilla bug ID
11167.

Regards,
Ingo Brunberg

> Hi all!
> 
> I am using the XMLFileDescriptorsStore for storing my metadata and the
> FileContentStore for the binary content!
> 
> If put a file in the /files collection and the delete it again then the
> .def.xml file is not removed from the  metadatastore! I don't know if
> this is a bug - but if the try to put a file with the same name in the
> /files collection then the server fails!
> 
> Am I doing something wrong??
> 
> Thanks
> Jacob
> 
> Here is some info from my domain.xml:
> ...
> 		<definition>
> 			<store name="j2ee">
> 				<nodestore
> classname="slidestore.file.XMLFileDescriptorsStore">
> 					<parameter
> name="rootpath">f:/metadatastore</parameter>
> 				</nodestore>
> 				<securitystore>
> 					<reference store="nodestore"/>
> 				</securitystore>
> 				<lockstore>
> 					<reference store="nodestore"/>
> 				</lockstore>
> 				<revisiondescriptorsstore>
> 					<reference store="nodestore"/>
> 				</revisiondescriptorsstore>
> 				<revisiondescriptorstore>
> 					<reference store="nodestore"/>
> 				</revisiondescriptorstore>
> 				<contentstore
> classname="slidestore.reference.FileContentStore">
> 					<parameter
> name="rootpath">f:/contentstore</parameter>
> 					<parameter
> name="resetBeforeStarting">false</parameter>
> 					<parameter
> name="versioning">false</parameter>
> 				</contentstore>
> 			</store>
> 			<scope match="/" store="j2ee"/>
> 		</definition>
> ...
> 	<parameter name="historypath">/history</parameter>
> 	<parameter name="workspacepath">/workspace</parameter>
> 	<parameter
> name="workingresourcepath">/workingresource</parameter>
> 	<parameter name="auto-version">checkout-checkin</parameter>
> 	<parameter name="auto-version-control">false</parameter>
> 	<parameter name="versioncontrol-exclude"/>
> 	<parameter name="checkout-fork">forbidden</parameter>
> 	<parameter name="checkin-fork">forbidden</parameter>
> ...


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>