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

Also handle UnsupportedOperationException for User implementation within the Freemarker model/wrapper when templates calls the getProperty method directly.

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Major
    • None
    • None
    • freemarker, templating
    • None

    Description

      The info.magnolia.freemarker.models.UserModel is written to "hide" the UnsupportedOperationException (since MAGNOLIA-3037) only when using user.fullName - which gets interpreted as user.getProperty("fullName").

      Some of our templates still do user.getProperty("fullName"), and that falls out of the try/catch block of UserModel.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD