Closed Bug 1097058 Opened 10 years ago Closed 10 years ago

Don't show surveys without questions

Categories

(Webtools Graveyard :: Air Mozilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Unassigned)

Details

(Whiteboard: [good first bug])

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.
Whiteboard: [good first bug]
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
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.