diff options
author | Artur Signell <artur@vaadin.com> | 2013-02-08 09:40:25 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-02-08 09:41:58 +0200 |
commit | 613d2c044d1c3dfeeb54112e3030dbe62282e1fc (patch) | |
tree | b137000d48536964399543eee74c7629e2918306 /server/src/com/vaadin/ui/AbstractComponent.java | |
parent | 77aed50851264cf89025fcf0a082e83027d90f68 (diff) | |
download | vaadin-framework-613d2c044d1c3dfeeb54112e3030dbe62282e1fc.tar.gz vaadin-framework-613d2c044d1c3dfeeb54112e3030dbe62282e1fc.zip |
Fixed race condition in upload (#10942)
Updated test to show if upload succeeds or fails
Change-Id: Ia9c3a3d36a5dd163fbad59e8cc41d53aba3ccb5a
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractComponent.java')
-rw-r--r-- | server/src/com/vaadin/ui/AbstractComponent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/AbstractComponent.java b/server/src/com/vaadin/ui/AbstractComponent.java index 85c40e0d39..cdddcb02b0 100644 --- a/server/src/com/vaadin/ui/AbstractComponent.java +++ b/server/src/com/vaadin/ui/AbstractComponent.java @@ -532,7 +532,7 @@ public abstract class AbstractComponent extends AbstractClientConnector */ @Override public boolean isReadOnly() { - return getState().readOnly; + return ((AbstractComponentState) getState(false)).readOnly; } /* |