Velocity Tools
  1. Velocity Tools
  2. VELTOOLS-129

DisplayTool does not call super.configure

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.x, 2.x
    • Component/s: GenericTools
    • Labels:
      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.

        Activity

        Hide
        Nathan Bubna added a comment -

        Fixed, thanks. And just so you know, "Blocker" is for things that break the VelocityTools build or otherwise prevent us from doing a release. The priorities refer to the importance of the bug to VelocityTools, not to your application.

        Show
        Nathan Bubna added a comment - Fixed, thanks. And just so you know, "Blocker" is for things that break the VelocityTools build or otherwise prevent us from doing a release. The priorities refer to the importance of the bug to VelocityTools, not to your application.

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Osipov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development