Skip to content

The jquery-validation v1.22.0 package includes breaking changes #388

@sync-by-unito

Description

@sync-by-unito

Checklist

  • I confirm there are no unresolved issues reported on the Chocolatey Status page.
  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.
  • I confirm I am using official, and not unofficial, or modified, Chocolatey products.

What You Are Seeing?

When upgrading Chocolatey Central Management in particular to v1.22.0 of the jquery-validation package, the .valid() call on forms breaks in certain cases. An example of this happens when editing a piece of Software, and clicking Save on the modal.

What is Expected?

Upgrading this package should not break any existing functionality, especially since it is only a minor release.

How Did You Get This To Happen?

  1. Upgrade jquery-validation to 1.22.0
  2. In CCM, try to edit a piece of Software, and notice the modal does not save, and instead reports errors in the console.

User Story

As a choco-theme developer,
I want to update the jquery-validation package to the current release without introducing any new bugs,
so that any website using it stays up to date and running smoothly.

System Details

n/a

Installed Packages

n/a

Output Log

n/a

Additional Context

For now, the jquery-validation package has been pinned to v1.21.0 to prevent this bug.

Acceptance Criteria

  • [ ] Update the jquery-validation package to ^1.22.0, or the most current release.
  • [ ] No new bugs are introduced by updating and all automated tests pass.

Related Issues

No response

┆Issue is synchronized with this Github issue by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    1 - ReadyIssue is accepted, milestone added and are ready to be worked on.BugIssues where something has happened which was not expected or intended.CommunityRepository

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions