Re: Fwd: Re: Poi update

Sidnei da Silva <sidnei-/awGbKECNgO/3pe1ocb+swC/[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <20060213120536.GL5620@cotia>
On Mon, Feb 13, 2006 at 08:55:12AM +0100, Luca Olivetti wrote:
| En/na Sidnei da Silva ha escrit:
| 
| >What's the issue? It's helpfully logging a message that the field is
| >not writeable, nothing else.
| 
| The 'Tried to update' part is misleading: it's just checking if it is 
| writeable, not *trying* to update it.
| I was worried that it was really trying to update the field(I have some 
| fields in SQL that don't want Archetypes to modify, just read), that I 
| had to trace the actual commands sent to the database server to make 
| sure it wasn't so.

When the method was first introduced I made sure it would only be
called with 'debug=True' from places where it would really try to
update.

Seems like some other call got introduced at a place where it is just
checking and not updating which doesn't pass a 'debug=False' argument
to the method. Now, where and how is something that needs to be looked
into.

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
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.