Re: [Zope] Zope 2.8.4 external methods do not autorefresh
- Original Message - From: Dennis Allison [EMAIL PROTECTED] To: zope@zope.org Sent: Friday, November 18, 2005 2:25 PM Subject: [Zope] Zope 2.8.4 external methods do not autorefresh test framework: dtml-var standard_html_header dtml-var expr=eproc() dtml-var standard_html_footer Setup an external method def eproc( self ): return 'hello world' and run the test method. It prints hello world Now, change the test method def eproc( self ): return 'hello world too' and run the test method. It prints hello world which is a deviation from the usual Zope2 behavior. No its not. To adopt the code for the modified method the external method needs to be resaved. Yep. Is this a bug or a feature? Feature. Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope 2.8.4 external methods do not autorefresh
On Fri, Nov 18, 2005 at 11:25:06AM -0800, Dennis Allison wrote: To adopt the code for the modified method the external method needs to be resaved. *Or* you need to have debug-mode on ... in your zope.conf. It's always been that way. I'm guessing you didn't turn on debug-mode for your 2.8 instance? -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope 2.8.4 external methods do not autorefresh
blush Yup. or so it seems. Thanks. Stupid errors confume the day... On Fri, 18 Nov 2005, Paul Winkler wrote: On Fri, Nov 18, 2005 at 11:25:06AM -0800, Dennis Allison wrote: To adopt the code for the modified method the external method needs to be resaved. *Or* you need to have debug-mode on ... in your zope.conf. It's always been that way. I'm guessing you didn't turn on debug-mode for your 2.8 instance? -- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )