You are not logged in Log in Join
You are here: Home » Members » fquin » Patch to make work Z SQL Methods with Transparent Folders » dc_view

Log in
Name

Password

 
 


Dublin Core Elements

The Dublin Core metadata element set is a standard for cross-domain information resource description.
Element Description Value
Identifier resource ID http://old.zope.org/Members/fquin/SQL.py.patch
Title resource name Patch to make work Z SQL Methods with Transparent Folders
Description resource summary <h1>Information</h1> <p> Z SQL Methods must be associated with a database connection object present in the context of the current folder. To find the list of accessible database connection objects, Z SQL Methods use the function <b>SQLConnectionIDs()</b>. <p> The Transparent Folders concept is acquisition in reverse. So, when you add a database connection object into a Transparent Folder, it should be accessible from the container and from all the containers added into this container. <p> Actually, the function SQLConnectionIDs() doesn't find database connection objects contained into transparent folders. To make it works, you must apply this patch for the file in which this function is defined. <h1>Installation</h1> <h2>Linux</h2> <ul> <li>Copy the SQL.py.patch file into the folder lib/python/Products/ZSQLMethods/ of your Zope.</li> <li>patch -p0 < SQL.py.patch</li> <li>Restart your Zope</li> </ul> <h2>Windows</h2> <ul> <li>Edit the SQL.py file locate into the folder lib/python/Products/ZSQLMethods/ of your Zope.</li> <li>Edit the SQL.py.patch file.</li> <li>Add the lines begining with a '+' in the patch, at the right place in the SQL.py file...</li> <li>Restart your Zope.</li> </ul>
Creator resource creator ZopeOrgSite
Date default date 2001-08-21 06:28:08
Format resource format text/html
Type resource type Software Package
Subject resource keywords Patches
Contributors resource collaborators
Language resource language
Publisher resource publisher No publisher
Rights resource copyright


Additional Zope Elements

Element Description Value
CreationDate date resource created 2001-08-21 06:28:08
ModificationDate date resource last modified 2001-08-21 06:28:08
EffectiveDate date resource becomes effective None
ExpirationDate date resource expires None

Backlinks: via Google / Technorati