[kforge-dev] Bug arising from Changeset [184]: promote createActions to base class

Rufus Pollock rufus.pollock at okfn.org
Mon Jun 25 14:45:21 UTC 2007


Dear David,

I've just updated to the latest domainmodel code and the KForge db 
initialisation has broken:

[snip]
   File 
"/Users/rgrp/svnroot/kforge/trunk/src/kforge/command/initialise.py", 
line 16, in execute
     self.createActions()
   File 
"/Users/rgrp/svnroot/kforge/trunk/src/kforge/command/initialise.py", 
line 39, in createActions
     self.registry.actions.create('Create')
   File "/Users/rgrp/svnroot/dm/trunk/src/dm/dom/base.py", line 162, in 
create
     item = self.createDomainObject(*args, **kwds)
   File "/Users/rgrp/svnroot/dm/trunk/src/dm/dom/base.py", line 246, in 
createDomainObject
     raise KforgeDomError, inst
dm.exceptions.KforgeDomError: 'Action' record already exists for: 
{'name': 'Create'}

Looking back over the commits it looks like this may have come from some 
changes to domainmodel (see below). Are you guys still running the unit 
test for kforge regularly after committing core changes to domainmodel?

Also when making changes to the domainmodel code that are likely to 
impact on clients of domainmodel code it might be worth writing to the 
list to highlight them.

~rufus

-------- Original Message --------
Subject: [kforge-dev] Changeset [184]: promote createActions to base class
Date: Tue, 19 Jun 2007 12:52:45 -0000
From: 37: Timeline <admin at okfn.org>
To: kforge-dev at lists.okfn.org

promote createActions to base class

URL: http://project.knowledgeforge.net/domainmodel/trac/changeset/184

_______________________________________________
kforge-dev mailing list
kforge-dev at lists.okfn.org
http://lists.okfn.org/mailman/listinfo/kforge-dev




More information about the kforge-dev mailing list