]> source.dussan.org Git - vaadin-framework.git/commitdiff
"Final" Fix for #1867
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Thu, 3 Jul 2008 14:16:47 +0000 (14:16 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Thu, 3 Jul 2008 14:16:47 +0000 (14:16 +0000)
svn changeset:5036/svn branch:trunk

src/com/itmill/toolkit/ui/Form.java

index a4d81a1b09fe9b8295237a152d84fc88e7c99e76..10c20c893a9ff3a7912412d2099a6d452c2f4f52 100644 (file)
@@ -205,18 +205,16 @@ public class Form extends AbstractField implements Item.Editor, Buffered, Item,
             }
         }
 
-        // Check if there are any systems errors
-        final ErrorMessage superError = super.getErrorMessage();
-
         // Return if there are no errors at all
-        if (superError == null && validationError == null
+        if (getComponentError() == null && validationError == null
                 && currentBufferedSourceException == null) {
             return null;
         }
 
         // Throw combination of the error types
-        return new CompositeErrorMessage(new ErrorMessage[] { superError,
-                validationError, currentBufferedSourceException });
+        return new CompositeErrorMessage(new ErrorMessage[] {
+                getComponentError(), validationError,
+                currentBufferedSourceException });
     }
 
     /*