[
http://mifosforge.jira.com/browse/MIFOS-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62318#action_62318
]
Mifos Hudson Jira Plugin User commented on MIFOS-4189:
------------------------------------------------------
Integrated in !http://ci.mifos.org/hudson/images/16x16/blue.gif! [head-master
#2226|http://ci.mifos.org/hudson/job/head-master/2226/]
[MIFOS-4189] Fixed the bug caused due to a logic error that filters
inactive questions from a question group
Kalyan Akella :
[e33be457e2b9aa22205d8ea9f4409224f8b3202b|http://mifos.git.sourceforge.net/git/gitweb.cgi?p=mifos/head&a=commit&h=e33be457e2b9aa22205d8ea9f4409224f8b3202b]
Files :
*
questionnaire/src/main/java/org/mifos/platform/questionnaire/domain/QuestionnaireServiceImpl.java
*
questionnaire/src/test/java/org/mifos/platform/questionnaire/service/QuestionGroupDetailTest.java
*
serviceInterfaces/src/main/java/org/mifos/platform/questionnaire/service/SectionDetail.java
*
questionnaire/src/test/java/org/mifos/platform/questionnaire/ui/controller/QuestionGroupControllerTest.java
*
serviceInterfaces/src/main/java/org/mifos/platform/questionnaire/service/QuestionGroupDetail.java
*
questionnaire/src/test/java/org/mifos/platform/questionnaire/service/QuestionnaireServiceIntegrationTest.java
> 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: Kalyan Akella
> Priority: Major
> Fix For: Release E - Iteration 12, Release E
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> 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