From 1ec35e4e3e63d636428a787196d70e4ac344ca89 Mon Sep 17 00:00:00 2001 From: Igal Date: Wed, 3 Sep 2014 21:43:31 -0700 Subject: [PATCH] fixed typos and improved error message --- .../functions/dynamicEvaluation/EvaluateComponent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/railo-java/railo-core/src/railo/runtime/functions/dynamicEvaluation/EvaluateComponent.java b/railo-java/railo-core/src/railo/runtime/functions/dynamicEvaluation/EvaluateComponent.java index f60380bc57..f43597f1f8 100644 --- a/railo-java/railo-core/src/railo/runtime/functions/dynamicEvaluation/EvaluateComponent.java +++ b/railo-java/railo-core/src/railo/runtime/functions/dynamicEvaluation/EvaluateComponent.java @@ -30,8 +30,8 @@ public static Component invoke(PageContext pc, String name, String md5, Struct s Component comp=null; try { comp = pc.loadComponent(name); - if(!ComponentUtil.md5(comp).equals(md5)){ - SystemOut.printDate(pc.getConfig().getErrWriter(),"component ["+name+"] in this enviroment has not the same interface as the component to load, it is possible that one off the components has Functions added dynamicly."); + if(!ComponentUtil.md5(comp).equals(md5)){ + SystemOut.printDate(pc.getConfig().getErrWriter(),"Failed to evaluate component ["+name+"], the component's interface does not match the data passed. The component's definition has changed, or one of the public members was added dynamically."); //throw new ExpressionException("component ["+name+"] in this enviroment has not the same interface as the component to load"); } }