QG w/ only inactive question can be submitted
---------------------------------------------
Key: MIFOS-4189
URL: http://mifosforge.jira.com/browse/MIFOS-4189
Project: mifos
Issue Type: Bug
Components: QuestionGroups/Surveys/PPI
Affects Versions: Release E
Reporter: Kay Chau
Assignee: Jakub Sławiński
Priority: Major
Fix For: Release E - Iteration 12, Release E
Repro (on 8116)
1) See question group named 'o' under View Loan. It has one inactive question
"What?"
2) Navigate to any loan. Click on Attach Survey and select 'o'
3) Next page shows an empty page with no question (b/c "What?" is inactive)
4) Click on Submit
5) Back on View Loan page, see that a survey o has been attached today.
6) Click on it - you can see the question What? and also you are able to edit
the question
Expected:
At #4, I don't think you should be able to submit with no questions.
Actual:
Able to submit, and then actually able to edit the answer and save an answer to
an inactive question.
I didn't test a QG with both active and inactive questions to see what would
happen. I suspect that in that scenario you might still be able to save
inactive questions.
I think I expect that if a question is inactive, it shouldn't show up at all in
your survey and shouldn't be saved...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues