Uploaded image for project: '[Read Only] - Hippo Essentials'
  1. [Read Only] - Hippo Essentials
  2. ESSENTIALS-1052

Beanwriter is creating compounds that extend HippoDocument

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: 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

        Attachments

          Activity

            People

            Assignee:
            clientserviceteam Client Service Team
            Reporter:
            wborgbarthet William Borg Barthet
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: