Updated Branches:
  refs/heads/wicket-1.5.x f7b4df17f -> 47bac2897

WICKET-5150 Log additional info when FormComponent fails in 
updateCollectionModel

Improve the log message and print the real cause


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/47bac289
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/47bac289
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/47bac289

Branch: refs/heads/wicket-1.5.x
Commit: 47bac289791008a589546a82daa386958d52701c
Parents: f7b4df1
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Fri Apr 26 15:11:29 2013 +0200
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Fri Apr 26 15:12:13 2013 +0200

----------------------------------------------------------------------
 .../wicket/markup/html/form/FormComponent.java     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/47bac289/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
 
b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
index 6ac36bf..6ef230f 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
+++ 
b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
@@ -1543,7 +1543,7 @@ public abstract class FormComponent<T> extends 
LabeledWebMarkupContainer
                        {
                                // ignore this exception because it could be 
that there
                                // is not setter for this collection.
-                               logger.info("no setter for the property 
attached to " + formComponent);
+                               logger.info("An error occurred while trying to 
set the new value for the property attached to " + formComponent, e);
                        }
                }
        }

Reply via email to