[
http://mifosforge.jira.com/browse/MIFOS-4416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63472#action_63472
]
Mifos Hudson Jira Plugin User commented on MIFOS-4416:
------------------------------------------------------
Integrated in !http://ci.mifos.org/hudson/images/16x16/yellow.gif! [head-master
#2613|http://ci.mifos.org/hudson/job/head-master/2613/]
MIFOS-4416: ApplicationException swallows key if used as message in
Throwable variant constructor
Udai Gupta :
[c3a691fb56437b60388acf9f92f20716a42a5c99|http://mifos.git.sourceforge.net/git/gitweb.cgi?p=mifos/head&a=commit&h=c3a691fb56437b60388acf9f92f20716a42a5c99]
Files :
* common/src/main/java/org/mifos/framework/exceptions/ApplicationException.java
*
appdomain/src/main/java/org/mifos/accounts/financial/exceptions/FinancialException.java
*
appdomain/src/main/java/org/mifos/accounts/financial/util/helpers/FinancialInitializer.java
> ApplicationException swallows key if used as message in Throwable variant
> constructor
> -------------------------------------------------------------------------------------
>
> Key: MIFOS-4416
> URL: http://mifosforge.jira.com/browse/MIFOS-4416
> Project: mifos
> Issue Type: Bug
> Reporter: Michael Vorburger
> Assignee: Udai Gupta
> Priority: Major
> Fix For: Elsie F
>
> Attachments:
> 0001-MIFOS-4416-ApplicationException-swallows-key-if-used.patch
>
>
> The ApplicationException, if the key isn't actually a message key but just a
> message, passes it to the parent Exception via super. But the
> ApplicationException(String key, Throwable cause, Object[] values) doesn't
> forward the key (like ApplicationException(String key, Object[] values) via
> ApplicationException(String key, Object[] values, String internalMessage)
> does.
> So ApplicationException(String key, Throwable cause, Object[] values) should
> use super(key, cause) instead of super(cause).
> I've discovered this when wanting to add a Charts of Accounts XML loading
> failed detailed message in FinancialInitializer.java, and am including that
> minor enhancement in the patch.
--
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
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues