Struts 2
  1. Struts 2
  2. WW-3736

Client Validation is broken for Struts2 themes

    Details

      Description

      Since Version 2.3.1 the Client Validation for Struts2 Themes is broken.
      Because the StrutsUtils.getValidationErrors Methos in utils.js expected an commented JSON String.

      StrutsUtils.getValidationErrors = function(data) {
      if(data.indexOf("/* {") === 0)

      { return eval("( " + data.substring(2, data.length - 2) + " )"); }

      else

      { return null; }


      };

        Activity

        Lukasz Lenart made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Lukasz Lenart made changes -
        Fix Version/s 2.3.3 [ 12320642 ]
        Fix Version/s 2.3.2 [ 12319199 ]
        Johannes Geppert made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Johannes Geppert created issue -

          People

          • Assignee:
            Johannes Geppert
            Reporter:
            Johannes Geppert
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development