Hi all,
I've created a patch for issue 1635 and attached it to the issue tracker.

In case anybody is interested, the original error was a
NotImplementedException when trying to attach a survey to a loan account. I
fixed this only to discover the next step in the process was also broken: a
NPE was thrown when submitting the answers to the survey.  So I fixed this
too. Both problems were caused by incorrect URLs.
And finally when clicking the link to view a previously-taken survey, a
ClassCastException was thrown when executing a hibernate named query. This
is also now fixed.

I'm not sure of the protocol in these cases; maybe I should have opened more
issues in the tracker? In the end I just fixed them all as part of issue
1635 since they were functionally somewhat related.

Finally, I included a selenium test that will verify the correction of all
three bugs. I'm a big fan of Selenium and have used it extensively in other
projects, so hopefully the Mifos project embraces the tool :-)

- Steve
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to