Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5383

Rename methods in TemplatingFunctions to avoid same-name methods with the same number of parameters

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • None
    • 5.1
    • taglibs, templating
    • None

      When TemplatingFunctions are used as JSP functions, a problem occurs that in tag library only one method with the same name and number of parameters can be defined. Thus only the old ${cmsfn.link(ContentMap)} is used, even if the parameter passed is of the Node type and the link(Node) method exists in TemplatingFunctions.

      This leads to errors like in MAGNOLIA-5355 (see especially the Eric's comment describing the cause).

        Acceptance criteria

              Unassigned Unassigned
              jchocholacek Jozef Chocholacek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD