[Zope-CMF] CMF 1.3b2 creates error with CMFForum, what to fix?
Sidnei da Silva
sidnei@x3ng.com.br
Wed, 31 Jul 2002 12:29:14 -0300
On Quarta 31 Julho 2002 10:28, Florent Guillaume wrote:
| > in __init__ is following line:
| >
| > self.created = self.modified = DateTime()
| >
| > Could that be the reason for these errors?
|
| I believe I already answered that very question somewhere else.
|
| In CMF's DublinCore 'modified' has always been a function. It's now in
| CMF 1.3 used explicitely to maintain the modification date of objects.
| So CMFForum is wrong in overwriting it with its own semantics. Please
| check the code of CMF 1.3's DublinCore, if you want to maintain by hand
| the modification date, use setModificationDate.
Sorry for the confusion this can be causing. I built CMFForum out of
ZDiscussions and did this in one evening, so this line is probably something
left from ZDiscussions code. I will be fixing this ASAP.
[]'s
--
Sidnei da Silva (dreamcatcher) <sidnei@x3ng.com.br>
X3ng Web Technology <http://www.x3ng.com.br>
GNU/Linux user 257852
Debian GNU/Linux 3.0 (Sid) 2.4.18 ppc
Security check: INTRUDER ALERT!