chocolatey / chocolatey/choco-theme

The jquery-validation v1.22.0 package includes breaking changes

Open
#515 0 comments 0 reactions 0 assignees View on GitHub
1 - Ready Bug ChocolateyCentralManagement ChocolateyHome ChocolateyLicensing PackageCCM PackageCCR PackageLicensing
Dominant language
JavaScript
Stars
10
Forks
17
Avg merge
20h 33m
Merged PRs (30d)
4

Description

### Checklist
* [x] I confirm there are no unresolved issues reported on the [Chocolatey Status page](https://status.chocolatey.org).
* [x] I have verified this is the correct repository for opening this issue.
* [x] I have verified no other issues exist related to my problem.
* [x] I have verified this is not an issue for a specific package.
* [x] I have verified this issue is not security related.
* [x] 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
1. 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
```bash
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 [Gitlab issue](https://gitlab.com/chocolatey/licensing-administration/licensing-services/-/work_items/193) by [Unito](https://www.unito.io)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.