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

Custom image set configured using Gallery Manager has no bean and is ignored by Bean Generator

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • 1.01.04
    • GA, 1.02.00
    • None
    • None
    • 2
    • GA, GA Hardening

    Description

      I configured a custom image set "myhippoproject:imageset" using the Gallery Manager, with two custom variants "small" and "large".

      The image set was created, and existing images converted. The image set is defined as a type under /hippo:namespaces/myhippoproject/imageset.

      However, there is no content bean associated with the new image set. I tried to generate it by running the Bean Generator, but it ignores the image set and says "All beans were up to date".

      Also, beans generated for document types that include an image field will get a method that returns the default image set class (HippoGalleryImageSetBean). I'm not sure if it's possible to automatically determine the desired image set type based on just the document type, but if not it could be a configuration option of the bean generator.

      Would it be an idea to add a custom image set to a project by default (in the archetype) and have all Essentials features use that image set type? That way image variants can be added, removed or modified without much impact on code. I think most projects will use only one image set type anyway.

      Right now adding image variants effectively breaks all images in the site...

      Attachments

        Activity

          People

            nvankampenhout Niels van Kampenhout
            nvankampenhout Niels van Kampenhout
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: