Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BO - is_graded flag not set during course run selection #992

Open
NamFra opened this issue Dec 12, 2024 · 0 comments
Open

BO - is_graded flag not set during course run selection #992

NamFra opened this issue Dec 12, 2024 · 0 comments
Labels
back-office bug Something isn't working

Comments

@NamFra
Copy link

NamFra commented Dec 12, 2024

Bug Report

Problematic behavior
In Joanie's BO, the is_graded flag doesn't work correctly after selecting course runs.
The switch is still set to false after saving:

<input class="PrivateSwitchBase-input MuiSwitch-input css-j8yymo" name="is_graded" type="checkbox" value="false">

It only updates if the added course is edited manually afterward. This can be easily overlooked and causes configuration issues.

Expected behavior/code
The flag should be set to true after selecting course runs and saving, without needing any further action.

Steps to Reproduce

  1. Go to Joanie's back office and create a product, filling in all required fields.
  2. When selecting target courses, pick specific course runs and enable the "Taken into account for certification" switch.
  3. Save the product and check: the certification option is not applied.
joanie-taken-into-account-certification.webm

Environment

  • Joanie version: 2.11.0
  • Platform: back-office

Additional context/Screenshots

image

Related to d329e6c

@NamFra NamFra added bug Something isn't working back-office labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-office bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant