If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Don't show surveys without questions

RESOLVED FIXED

Status

Webtools
Air Mozilla
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: peterbe, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [good first bug])

(Reporter)

Description

3 years ago
Suppose you create a Survey, attach it to an event (or more), but never enter any questions at all. Then, when you view the event, it shows the survey even though it doesn't have any questions leave just a "Submit" button in place. 

When it determines whether to show the survey it should also check that there are more than 0 questions in it.
(Reporter)

Updated

3 years ago
Whiteboard: [good first bug]
Submitted pull request https://github.com/mozilla/airmozilla/pull/128

Comment 2

3 years ago
Commits pushed to master at https://github.com/mozilla/airmozilla

https://github.com/mozilla/airmozilla/commit/cb2d715c6592938bd207c5e1395c579209619219
Fixes bug 1097058 - Prevent survey activation without questions

https://github.com/mozilla/airmozilla/commit/7429de43b09314affd13a7a35fe1fa313ffe42c5
Merge pull request #128 from bugzPDX/1097058_bug

Fixes bug 1097058 - Prevent survey activation without questions

Updated

3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.