Details
-
Bug
-
Status: Closed
-
Should
-
Resolution: Fixed
-
OpenMRS 1.7.3
-
None
-
Low
Description
Actually, when running reporting tests against 1.7+ we are facing to stackoverflow error because of this line in AuditableInterceptor:
log.debug("Setting changed by fields on " + entity);
Actually, invoking entity.toString() makes recursive call of this interceptor.
Fix it in this way:
log.debug("Setting changed by fields on " + entity.getClass());