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

Fix false positive for Question#triggered? #469

Closed
wants to merge 3 commits into from

Conversation

serra-allgood
Copy link

I'm working on enforcing mandatory questions, and I noticed that questions without explicit dependencies inside of question groups with dependencies were erroneously reporting themselves to be triggered, which prevented a user from moving on in the survey.

This issue probably needs to be addressed inside ResponseSet#progress_hash as well.

corwinkelly added 3 commits January 6, 2014 18:01
I'm working on enforcing mandatory questions, and I noticed that questions without explicit dependencies inside of question groups with dependencies were erroneously reporting themselves to be triggered, which prevented a user from moving on in the survey.

This issue probably needs to be addressed inside `ResponseSet#progress_hash` as well.
Questions with the label display type cannot be answered, but is_answered? was returning true. Since I'm relying on is_unanswered? for enforcing mandatory questions, it makes more sense for it to return false for labels.
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

Successfully merging this pull request may close these issues.

1 participant