Re: Archetypes 1.3: NEVER CHANGE BEHAVIOUR + how to deal with changes in >1.3

"Jens W. Klein" <jens-/[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Organization BlueDynamics Tyrol - Klein & Partner KEG
Message-ID <[email protected]>
Am Thu, 23 Feb 2006 09:46:15 -0300 schrieb Sidnei da Silva:

> On Thu, Feb 23, 2006 at 10:21:46AM +0100, Jens W. Klein wrote:
> | Sorry for the loud topic. But please: Archetypes 1.3 is in maintanance
> | mode. 
> | 
> | Every fix must not change current behaviour, even if its odd. Current code
> | relying on Archetypes 1.3 must not break after update, even if it depends
> | on odd behaviour.
> 
> Jens, I think you missed the point on my fix:
> 
> 1. It has tests, which you plain broke!

Ops, forgot to commit the undo, done now.

> 2. It helps the user not to commit an error that would cause lots of
>    pain. Someone just spent 5 hours trying to understand why a field
>    would not be saved.

ok, now it prints out a deprecation message, this will help too, but dont
break Products where it in fact doesnt matter.

> 3. It was never a intended feature to start with, and I can't see a
>    case where someone would use it except for a real copy-and-paste
>    error or a typo.

ack. but there are Products out there with such typos where it just doesnt
matter. and as long this is not security related I wont accept any code
that will cause broken Products because of a maintanance release update.

> So, by all means it's a bugfix. If you don't agree with that, at least
> fix the tests. Shame on you for making the rules and not living by them.

Indeed, its a fix, a minor one, and its fine to raise an exception in 1.4
and up. but its not important enough to break Products based on 1.3
because of that. 

I just want to ensure to not introduce an Archetypes update hell. 

1.3 is what it is: Production ready. Major important features, fixes
and optimizations you did, Sidnei, brought it where it is. At this place a
big thanks from me and for sure also from all Archetypes users.

Better lets focus on making 1.4 production ready. Its not so much work.

Jensens
-- 
Jens W. Klein,               WEB APPLICATIONS: ZOPE, PLONE - MDA, SOA
BlueDynamics Tyrol           production: concept, development, design
Klein & Partner KEG          consulting: analysis, coaching, training
http://www.bluedynamics.com  management: projects, process, community




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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.