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

Details

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

    Description

      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).

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD