fix: Validation error for "empty" Batch Enrollment, Batch Beta Tester Addition fields is absent - #32684
Conversation
|
Thanks for the pull request, @DmytroAlipov! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
9dc8985 to
36115db
Compare
36115db to
a168884
Compare
|
hi @DmytroAlipov! Is this ready for review? |
|
@mphilbrick211 yes ;) |
|
Hi @openedx/fed-bom! Is this something you could help review/merge for us? Thanks! |
|
sure @mphilbrick211 we'll review it |
There was a problem hiding this comment.
| renderList(gettext('This field must not be blank'), []) | |
| renderList(gettext('This field must not be blank'), []); |
There was a problem hiding this comment.
| gettext('Users must create and activate their account before they can be promoted to beta tester.') | |
| gettext('Users must create and activate their account before they can be promoted to beta tester.'); |
There was a problem hiding this comment.
@abdullahwaheed I disagree, this gettext is inside unshift
There was a problem hiding this comment.
Perhaps you meant ; on the next line
There was a problem hiding this comment.
| invalidIdentifier.length === 0 && | |
| errors.length === 0 && | |
| enrolled.length === 0 && | |
| allowed.length === 0 && | |
| autoenrolled.length === 0 && | |
| notenrolled.length === 0 && | |
| notunenrolled.length === 0 | |
| invalidIdentifier.length === 0 | |
| && errors.length === 0 | |
| && enrolled.length === 0 | |
| && allowed.length === 0 | |
| && autoenrolled.length === 0 | |
| && notenrolled.length === 0 | |
| && notunenrolled.length === 0 |
There was a problem hiding this comment.
| renderList(gettext('This field must not be blank'), []) | |
| renderList(gettext('This field must not be blank'), []); |
a168884 to
71034b8
Compare
|
I don't understand why the CMS test failed. The backed part is not affected at all in this PR. |
|
In the Palm branch, everything was successful for the same PR |
890bbed to
e78a1c7
Compare
e78a1c7 to
35f0844
Compare
|
Hi @abdullahwaheed! Are you able to merge this for us? |
Hi @abdullahwaheed - friendly follow-up on this :) |
Hi @abdullahwaheed and @openedx/2u-fed-bom! Would someone able to please merge this for us? |
|
@DmytroAlipov 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
|
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
|
2U Release Notice: This PR has been deployed to the edX production environment. |
Description
[Instructor Dashboard > Membership] Validation error for "empty" Batch Enrollment, Batch Beta Tester Addition fields is absent
Steps to Reproduce:
Another bug found:
Now everything works correctly: