openedx / xblock-free-text-response

GNU Affero General Public License v3.0
2 stars 16 forks source link

fix: The XBlock should work even when max_attempts is null #155

Open xitij2000 opened 7 months ago

xitij2000 commented 7 months ago

Overview

This change allows the XBlock to continue working in cases where max_attempts is set to null. Currently Studio and LMS will throw an error in such a case due to a number of places where max_attempts is compared to count_attempts without testing for None first.

Test Instructions

TODO

openedx-webhooks commented 7 months ago

Thanks for the pull request, @xitij2000! 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.

mphilbrick211 commented 7 months ago

Hi @openedx/2u-arbi-bom! Would someone be able to please review / merge this for us? Thanks!

awais786 commented 7 months ago

You need to fix the commit message.

 input: fixup: Update tests
✖   type must be one of [revert, feat, fix, perf, docs, test, build, refactor, style, chore, temp] [type-enum]
xitij2000 commented 7 months ago

You need to fix the commit message.

 input: fixup: Update tests
✖   type must be one of [revert, feat, fix, perf, docs, test, build, refactor, style, chore, temp] [type-enum]

Done!

xitij2000 commented 6 months ago

You need to fix the commit message.

 input: fixup: Update tests
✖   type must be one of [revert, feat, fix, perf, docs, test, build, refactor, style, chore, temp] [type-enum]

Is this good to merge?

mphilbrick211 commented 4 months ago

@openedx/2u-arbi-bom hi there! is someone able to take a look at this for us?

mphilbrick211 commented 2 months ago

Once someone assigns themselves for review, we can resolve conflicts.