Uploaded image for project: '[Read Only] - Hippo Go Green Enterprise'
  1. [Read Only] - Hippo Go Green Enterprise
  2. HGGE-284

Banner component does not render correctly when un-hidden

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Outdated
    • CMS-10.0-alpha-1
    • None

    Description

      I don't see standard componenets with 'hide' option so not clear what the impact is on product (aka non-go-green)

      Steps to reproduce:

      1. login to the GoGreen CMS
      2. edit the English Website
      3. select the Banner Carousel component and 'Hide' it by default
      4. save changes
      5. close the component properties window
      6. navigate to another page
      7. navigate back to the home page
      8. edit the Banner Carousel component again
      9. un-check 'Hide' to make the component visible again

      Expected: the banner carousel renders correctly
      Actual: the banner carousel misses styling and does not function

      Comment from mdenburger:
      This is probably a GoGreen bug: the carousel uses head contributions
      to add styling and javascript, but these are not rendered in step 6
      because the component is hidden. Un-hiding is only re-renders that
      component, but not its head contributions. This breaks the component.
      This does mean that the 'hide' functionality is broken for all
      component that rely on rendered head contributions, which is a
      higher-than-normal issue IMHO (and very tricky to fix). Maybe we need
      an option to disable the 'Hide' functionality for specific components
      to prevent a broken page in the channel manager?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abanck Arent-Jan Banck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: