Error when enable the Export Model Validator
http://sourceforge.net/tracker/?func=detail&aid=2847797&group_id=176962&atid=879332 Add warning message if configured wrongly
This commit is contained in:
parent
ed24fd0980
commit
06e74c473c
|
@ -87,13 +87,14 @@ public class ExportModelValidator implements ModelValidator
|
|||
*/
|
||||
public void initialize (ModelValidationEngine engine, MClient client)
|
||||
{
|
||||
if(client !=null)
|
||||
if (client != null)
|
||||
{
|
||||
m_AD_Client_ID = client.getAD_Client_ID();
|
||||
log.info(client.toString());
|
||||
}
|
||||
else
|
||||
{
|
||||
log.warning("Export Model Validator cannot be used as a global validator, it needs to be defined in a per-client (tenant) basis");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue