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

Data Migration: Generated options for MCQ/MSQ questions are duplicated on every page load #12903

Open
dishenggg opened this issue Mar 15, 2024 · 6 comments
Labels
committers only Difficult; better left for committers or more senior developers s.OnHold The issue/PR's validity has been put on hold pending some other event

Comments

@dishenggg
Copy link
Contributor

dishenggg commented Mar 15, 2024

Likely related to #12779

Steps to reproduce

  1. Open migrated feedback session with a MSQ question with generated options e.g., teams
  2. Refresh the page

Expected behaviour
Teams are listed only once

Actual behaviour
Teams are added to the list of options on every page load

Options for MSQ question after 3 page loads:
image

@adab786
Copy link

adab786 commented Mar 15, 2024

can point out page where it is happening

@wkurniawan07
Copy link
Member

@dishenggg why does this issue involve data migration?

@dishenggg
Copy link
Contributor Author

@wkurniawan07 This seems to happen as a result of the linked issue which is part of the v9 migration

@itstrueitstrueitsrealitsreal
Copy link
Contributor

Hi @dishenggg, I am unable to replicate the issue. Could you provide more information on how to replicate it?

@dishenggg
Copy link
Contributor Author

Hi @itstrueitstrueitsrealitsreal, this problem only happens for migrated(SQL) courses, you can replicate it by adding a course manually into the postgres db

However this issue is likely to be fixed by one of the open PRs in the linked issue

For now, this issue is more like a reminder to check for this behaviour after a fix is deployed since it is functionality-breaking

@itstrueitstrueitsrealitsreal
Copy link
Contributor

Thanks for the quick reply!

@dishenggg dishenggg added committers only Difficult; better left for committers or more senior developers s.OnHold The issue/PR's validity has been put on hold pending some other event labels Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
committers only Difficult; better left for committers or more senior developers s.OnHold The issue/PR's validity has been put on hold pending some other event
Projects
None yet
Development

No branches or pull requests

4 participants