Updated Branches:
  refs/heads/master 961f24776 -> fcc90139e

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/fcc90139
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/fcc90139
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/fcc90139

Branch: refs/heads/master
Commit: fcc90139e1e383766323ebc5d4e1787acf1866e7
Parents: 961f247
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:11:29 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/fcc90139/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 401e729..8c836e1 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
@@ -1605,7 +1605,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