Skip to main content

Bug Tracker

Side navigation

#13364 closed bug (notabug)

Opened January 31, 2013 09:00PM UTC

Closed January 31, 2013 09:04PM UTC

Last modified February 01, 2013 01:02PM UTC

Change to 1.9.0 affected Validation

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: git
Keywords: Cc:
Blocked by: Blocking:
Description

I don't know if this is a "core" issue. However, it only occurs when using 1.9

Using

MVC 4, .net 4.5, jquery 1.9.0, jquery.validate, jquery.validate.unobtrusive

When I have an input using validation the class="input-validation-error" does not clear after the erroring condition is fixed.

I tested this with the datepicker and with a regular expression check.

I uninstalled jquery 1.9.0 and installed 1.8.x and it works.

I noticed that sometimes inputs have class's of input-validation-error and sometimes of field-validation-error.

I somewhat suspect the .removeClass is being called with the wrong class name. But I'm not smart enought to know for sure.

Attachments (0)
Change History (2)

Changed January 31, 2013 09:04PM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed

This isn't a bug report, there are way too many things involved there. You should isolate the problem and debug it a bit more to determine where the problem lies. The jQuery Migrate plugin should be used as well.

Changed February 01, 2013 01:02PM UTC by anonymous comment:2

jQuery Migrate is also not working, I installed in MVC but problem did not resolve.

Error: SyntaxError: invalid label

Line: 13

Source Code:

"version":3,