teammates icon indicating copy to clipboard operation
teammates copied to clipboard

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

Open dishenggg opened this issue 11 months ago • 6 comments

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

dishenggg avatar Mar 15 '24 10:03 dishenggg

can point out page where it is happening

adab786 avatar Mar 15 '24 12:03 adab786

@dishenggg why does this issue involve data migration?

wkurniawan07 avatar Mar 15 '24 16:03 wkurniawan07

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

dishenggg avatar Mar 16 '24 06:03 dishenggg

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

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

dishenggg avatar Jun 18 '24 14:06 dishenggg

Thanks for the quick reply!