Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
I noticed that the beanwriter is generating beans for compounds that extend HippoDocument, not HippoCompound.
I think this is wrong, compounds should not have access to methods relating to translation and workflow. I recall when HippoCompound was introduced, it was intended as a base class for compounds instead of HippoDocument.
Reproduction:
1. Create an archetype 11 (or older) project
2. Create a new compound type
3. Run the beanwriter tool
expected: a bean class that extends HippoCompound
observed: a bean class that extends HippoDocument