Uploaded image for project: 'Velocity Tools'
  1. Velocity Tools
  2. VELTOOLS-129

DisplayTool does not call super.configure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0
    • 2.0.x, 2.x, 3.0
    • GenericTools
    • None

    Description

      I recently used the DisplayTool and had weird results. Traced the issue down and noticed that in contrast to ResourceTool on this line http://svn.apache.org/viewvc/velocity/tools/tags/2.0/src/main/java/org/apache/velocity/tools/generic/DisplayTool.java?view=markup#l153 super.configure is not called. DisplayTool has always the same locale as the JVM. I have created a patch which works as desired.

      Attachments

        1. displaytoo-locale.patch
          0.5 kB
          Michael Osipov

        Activity

          People

            Unassigned Unassigned
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: