[Kss-devel] the getUtility acquisition issue, fix
Balazs Ree
ree at ree.hu
Mon Mar 19 08:03:34 CET 2007
Hi all,
I just posted an article on plone-devel
http://thread.gmane.org/gmane.comp.web.zope.plone.devel/14861/focus=14915
about how I fixed the getUtility acquisition error. In short, it's a big
problem. The fix itself is a big hack and obviously the problem needs to
be addressed properly on the right level, but since this is not a kss
related issue (only it manifested here), this is not our main
responsibility.
The fix itself is here:
https://svn.plone.org/svn/collective/plonekss/five.localsitemanager/registry.py
Please test it out! (You have to overwrite the relevant file with it.)
The problem is, I have no access to the zope svn so I cannot commit it
there, maybe someone can help? Don't forget, another sprint is coming in
one week and people need to be able to work.
The issue opens another question. Obviously, at one point someone
committed something to Five / Plone without realizing that it is broken
code. This should not have happened at the first place.
Did it or did it not break our tests? If no, we need tests against this.
If yes, how could this happen, ie. why do people check in code that break
tests, and how can we make sure this cannot happen again?
--
Balazs Ree
More information about the Kss-devel
mailing list