Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-654

BodyClassResolver.java : variable allowedBodyClasses should be protected and not private

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.3.5
    • 1.3.1
    • themepop
    • None

      A common use case of extending/redefining the BodyClassResolver is that you want to allow another bodyClass situation/configuration.
      In my case right now: nav-col-subcol-subcol

      So actually only the variable allowedBodyClasses should be over-writable for this situation -> protected instead of private
      Otherwise the complete class has to be copied for adapting this.

        Acceptance criteria

              ochytil Ondrej Chytil
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: