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

CssSelectorSupportRenderingModel doesn't use generics

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Neutral
    • None
    • 1.4.2
    • None

    Description

      RenderingModelImpl has apparently been fixed to use generics correctly ('implements RenderingModel<RD>' instead the former 'implements RenderingModel'), but now we run into problems with other Magnolia class which don't use generics.

      For instance we have a class of our own which 'extends RenderingModelImpl<Paragraph> implements CssSelectorSupportRenderingModel', but since CssSelectorSupportRenderingModel 'extends RenderingModel' we get compilation errors.

      Please use generics consistently to avoid these problems.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              breun Nils Breunese
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: