Velocity
  1. Velocity
  2. VELOCITY-754

Velocity error with jQuery command $.post("something", "")

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.7
    • Component/s: Engine
    • Labels:
      None

      Description

      I'm using jQuery in an Velocity file and have discovered the common jQuery command

      $.post("someUrl", "")

      generates a Velocity parsing error.

      Encountered "," at /myfile.htm [line 1, column 19] Was expecting one of: "(" ... ... ... ... "##" ... "\\\\" ... "
      " ... ... "#" ... "#" ... ... ... ... ... ... ... ... ... ... "

      {" ... "}

      " ...

        Issue Links

          Activity

          Will Glass-Husain created issue -
          Will Glass-Husain made changes -
          Field Original Value New Value
          Affects Version/s 1.6.2 [ 12313574 ]
          Priority Major [ 3 ] Minor [ 4 ]
          Description I'm using jQuery in an Velocity file and have discovered the common jQuery command

          $.post("someUrl", "")

          generates a Velocity parsing error.

          I'm using jQuery in an Velocity file and have discovered the common jQuery command

          $.post("someUrl", "")

          generates a Velocity parsing error.

          Encountered "," at /myfile.htm [line 1, column 19] Was expecting one of: "(" ... ... ... ... "##" ... "\\\\" ... "\\" ... ... "*#" ... "*#" ... ... ... ... ... ... ... ... ... ... "{" ... "}" ...
          Component/s Engine [ 12311337 ]
          Will Glass-Husain made changes -
          Summary Gives error with text $.post(something) Velocity error with jQuery command $.post("something", "")
          Jarkko Viinamäki made changes -
          Link This issue is related to VELOCITY-729 [ VELOCITY-729 ]
          Nathan Bubna made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.7 [ 12313453 ]
          Resolution Fixed [ 1 ]
          Mark Thomas made changes -
          Workflow jira [ 12489717 ] Default workflow, editable Closed status [ 12551710 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12551710 ] jira [ 12552256 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Will Glass-Husain
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development