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

Error while creating interactive question by copying from existing question #3224

Open
AntoJustinT4D opened this issue Feb 17, 2025 · 0 comments

Comments

@AntoJustinT4D
Copy link

AntoJustinT4D commented Feb 17, 2025

Describe the bug
When you try to create an interactive question by copying from an existing question of type list and if you reduce the number of list options in the destination question or even if maintain the same number of options, you get an error saying "Label: can't be blank". This error comes when you try to create an interactive question by copying an existing one of type list. In the destination question, if you were to remove one option, it allows you to proceed in the default language, but when you go to the next language, it will list the same number of options as the original question, even though you have deleted one or more in the default language space of the current question. When you remove the list options in the current language and try to save, you will get an error saying "Label: cant be blank"

To Reproduce
Steps to reproduce the behavior:

  1. Create an interactive question with 4 options and more than 1 language
  2. Click on copy to create another question
  3. In the interface for the new question, reduce the number of list options
  4. Change the language to another language where you will see the original number of list options as the source question.
  5. Reduce the number of list options and make the necessary language changes and click on "Save" or try to go to another language
  6. See the error

and

  1. Create an interactive question with 4 options and more than 1 language
  2. Click on copy to create another question
  3. Change the language to another language
  4. Try to move to another language
  5. See the error

Expected behavior
When the number of list options is reduced in the default section of the current question, the same number of list options should be listed when the language option is changed and the user should be allowed to proceed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant