[ZCM] [ZC] 1487/ 7 Wontfix "Mount-Points: documentation incomplete, behaviour surprising"

"Collector: Zope Bugs, Features, and Patches ..." <[email protected]>
Newsgroups gmane.comp.web.zope.devel.collector-monitor
Message-ID <[email protected]>
Issue #1487 Update (Wontfix) "Mount-Points: documentation incomplete, behaviour surprising"
 Status Wontfix, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/1487

==============================================================
= Wontfix - Entry #7 by ajung on Jan 13, 2007 6:27 am

 Status: Accepted => Wontfix


________________________________________
= Comment - Entry #6 by efge on Sep 26, 2004 5:12 pm

On the contrary, in my use cases having real_path default to virtual_path is exactly what I want: It means that if I see the mounted storage directly, on its own, then the would-be-mounted objects still have the same paths.

So the default makes sense for me, and it does not for you. We can't both win :-)

Proposing to close this entry.
________________________________________
= Comment - Entry #5 by tim_one on Sep 5, 2004 11:29 am

Sorry, Andreas, I don't know anything about mount points.  Shane or Jim are the best hopes for that.
________________________________________
= Comment - Entry #4 by ajung on Sep 5, 2004 10:44 am

SVN trunk: updated the docs in zopeschema.xml for the extended notation. 

No idea about the default value '/'...maybe Tim or some other ZODB guru can comment on this.
________________________________________
= Comment - Entry #3 by ajung on Sep 5, 2004 10:44 am

SVN trunk: updated the docs in zopeschema.xml for the extended notation. 

No idea about the default value '/'...maybe Tim or some other ZODB can comment on this.
________________________________________
= Assign - Entry #2 by ajung on Sep 4, 2004 11:59 pm

 Status: Pending => Accepted

 Supporters added: ajung


________________________________________
= Request - Entry #1 by d.maurer on Sep 1, 2004 6:42 am

The "mount-point" documentation says:

   The mount point is the slash-separated path to which this database will be mounted within the Zope application server.

This is at least incomplete. In fact, the mount-point spec has the form "virtual_path [: real_path]". "virtual_path" describes the path in the mounting Zope instance and "real_path" the path in the mounted storage. Furthermore,
"real_path" allows a special syntax to specify a non-standard root.

Unfortunately, the default "real_path" is equal to "virtual_path". If "virtual_path" is non-trivial, this
leads to a very strange (and mount position dependent)
structure in the storage.

At least, the documentation needs to be completed.

If possible, "real_path" should get a more senseful
default value. Unfortunately, the most natural
value "/" will not work. Thus, maybe, it is not possible.
==============================================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.