[ZODB-Dev] DBTab mounts

Rocky Burt rocky.burt@bricsnet.com
Mon, 17 Feb 2003 22:34:52 -0500


Ok... I think the problem here is that I'm doing a lousy job of explaining
the problem ;)

1) I have / mounted as a regular FileStorage
2) I create new Plone site at /Plone (which is now also in the FileStorage)
3) I now want to mount a AdaptableStorage sql volume at /Plone/Data,
   BUT, I want the mount point (the /Plone/Data object itself) to show up 
   as a Plone Folder instead of a Zope Folder.

I'm guessing that what I'm asking for is not possible without
tweaking the sourcecode to make the mount point class(es) extend Plone
Folder or something similar.

Is this a better explanation of my problem? :)

Regards,
Rocky (r0ky)



> --------- Original Message ---------
> From: Shane Hathaway [mailto:shane@zope.com]
> Sent: February 17, 2003 21:42:49 -0500
> To: rocky.burt@bricsnet.com, zodb-dev@zope.org
> Subject: Re: [ZODB-Dev] DBTab mounts
> 
> 
> On Mon, 17 Feb 2003, Rocky Burt wrote:
> 
> > 
> > 
> > Hehe, well, it must have been some kind of trailing space or something
> > as it maps fine now (inside my plone site).
> > 
> > So, the layout I'm trying to get is this:
> >   /plone (Plone Site)
> >   /plone/Data (Plone Folder)
> > 
> > Well, if I make sure /plone/Data doesn't already exist, then when I go to the
> > DBTab interface I can have it create the new Data Folder, and it creates
> > /plone/Data just as I'd expect, except it's a regular Zope folder.  I need it
> > to be a Plone folder instead.  So if I pre-create /plone/Data as a zope folder
> > and go to the DBTab interface, it shows up as "Ok" but it isn't actually
> > mounted.  I can see this if I add items to the Data folder and they don't
> > show up in any of the database tables.
> 
> I don't know what could happen to put it in that situation.  Are you using 
> DBTab 1.1?  (Please do.)  It will not say "Ok" if the database is not 
> mounted.  Are you perhaps mounting the wrong database at /plone/Data?
> 
> If you need /plone/Data to be something other than a Zope Folder, you'll
> need to go through some process to create /plone/Data in the mounted
> database before you mount the database.  The most likely thing to do is to
> temporarily mount /plone (which is not a Plone site, but a Folder) under a
> different path than /plone, visit the /plone folder, and create a Plone
> Folder in it.  Or you might just break out the SQL command line.
> 
> Shane
> 
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
> 
> ZODB-Dev mailing list  -  ZODB-Dev@zope.org
> http://mail.zope.org/mailman/listinfo/zodb-dev