ApplicationException from MasterPersistence.getLookUpEntity isn't displayed on the UI nor logs

Description

ApplicationException from MasterPersistence.getLookUpEntity isn't displayed on the UI nor logs.

Steps to reproduce:
1. Rename 'CitizenShip' to 'CitizensShip' in the lookup_entity table
2. Try to enter 'Define Lookup Options' page

Environment

None

Activity

Show:
UdaiU
December 6, 2010, 2:37 PM
Edited

AFAIK this is related to mysql collation, when the default collation is set to utf8_bin this error is encountered in Mifos.

Default collation utf_general_ci should be used to avoid this error.

Reason:

  • utf8_bin is case sensitive and utf_general_ci is case insensitive.

Another collation is utf8_unicode_ci.
http://dev.mysql.com/doc/refman/5.1/en/charset-unicode-sets.html

Need to investigate what happens with different utf8 collation.

Jakub Sławiński
December 6, 2010, 9:10 PM

I just want to stress the fact, that this might be a more general issue. Probably ApplicationExceptions thrown from Mifos internals (like the one from getLookUpEntity) are caught and there is an error message displayed on the UI (nothing is logged). The problem is that these exceptions from Mifos internals do not contain valid message keys, so in the UI there is only a red dot(and nothing is logged).

keithwoodlock
May 5, 2011, 8:02 PM

reducing priority on it for now.

Lukasz Chudy
September 29, 2011, 12:13 PM

In Release 2.2, page with stack trace is displayed when trying to open 'Define Lookup Options' page.

Assignee

mifosdeveloperqueue

Reporter

Jakub Sławiński

Labels

URL

None

Story Points

None

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Minor
Configure