Inheritance isn't working, or Mystery of the Missing Doc Strings
Food ZClass inherits from ZWorkflow ZClass, and from a python base class FoodBase that inherits from OFS.ObjectManager.ObjectManager. So, calls to objectItems should be "sent" to FoodBase, who then "sends" them to ObjectManager. Instead, I get an error saying "Missing doc string"!!! Just to explain fully, ZWorkflow inherits from python class Workflow which in turn inherits from CatalogAware. None of the above define objectItems anywhere. What's going here? And why do the things always happen when I'm on a deadline?
On Wed, 15 Dec 1999 itamars@ibm.net wrote:
So, calls to objectItems should be "sent" to FoodBase, who then "sends" them to ObjectManager. Instead, I get an error saying "Missing doc string"!!!
ZPublisher requires that published methods have a doc string (among other things). Are there any published methods in your base classes that do not contain a doc string? Pavlos
Pavlos Christoforou wrote:
On Wed, 15 Dec 1999 itamars@ibm.net wrote:
So, calls to objectItems should be "sent" to FoodBase, who then "sends" them to ObjectManager. Instead, I get an error saying "Missing doc string"!!!
ZPublisher requires that published methods have a doc string (among other things). Are there any published methods in your base classes that do not contain a doc string?
No, they all have doc strings. -- Itamar S.T. itamars@ibm.net
participants (3)
-
Itamar Shtull-Trauring -
itamars@ibm.net -
Pavlos Christoforou