Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5 beta2
    • Fix Version/s: 1.6
    • Component/s: Engine
    • Labels:
      None

      Description

      The test:

      ===
      public void testU() throws Exception

      { VelocityEngine ve = new VelocityEngine(); ve.init(); Context context = new VelocityContext(); StringWriter writer; writer = new StringWriter(); ve.evaluate(context, writer, "test","#set($v = \"\\u0061\")$v"); //assertEquals("a", writer.toString()); }

      ===

      I think "\u0061" shoud produce "a", see VELOCITY-519. But if not, this should produce string "\u0061", literally, but not exception, as now.

        Issue Links

          Activity

          Stepan Koltsov created issue -
          Stepan Koltsov made changes -
          Field Original Value New Value
          Link This issue relates to VELOCITY-519 [ VELOCITY-519 ]
          Will Glass-Husain made changes -
          Fix Version/s 1.6 [ 12310290 ]
          Henning Schmiedehausen made changes -
          Component/s Engine [ 12311337 ]
          Nathan Bubna made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jarkko Viinamäki made changes -
          Link This issue relates to VELOCITY-709 [ VELOCITY-709 ]
          Mark Thomas made changes -
          Workflow jira [ 12398176 ] Default workflow, editable Closed status [ 12551651 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12551651 ] jira [ 12552529 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Stepan Koltsov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development