Re: id widget's 'ignore_visible_ids' attribute

Rob Miller <ra-UE+B0n23d/[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>
Martin Aspeli wrote:
> Rob Miller <ra@...> writes:
> 
> 
>>an 'ignore_visible_ids' attribute was recently added to the id widget, 
>>in order to allow folks to override the site- or member-wide id 
>>visibility setting on a type by type basis.
>>
>>this works fine, but when i installed the new code on an existing site, 
>>the site quit working because the 'zid.pt' template assumes that the 
>>property will be there, but for some of my custom types it was not 
>>present.  it's not clear to me why the attribute isn't appearing on the 
>>widgets just with a restart; these types are not using dynamic schemas, 
>>or doing anything fancy.  but if it's happening to me, then it's 
>>probably going to happen to other people.
> 
> Did you try to do a schema update in archetypes_tool? If the schema becomes an
> instance variable, it may not gain the new attribute until a schema update.

this would likely work, but forcing a schema update for a minor point 
release when it's unnecessary doesn't seem very sensible.

-r



-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
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.