OpenIotOrg / openiot

The Open Source Project for the Internet of Things
461 stars 189 forks source link

Ide.core: Expired view makes ide appear to "hang" #64

Open hylkevds opened 10 years ago

hylkevds commented 10 years ago

After some inactivity, when trying to switch component in the IDE, an eternal "loading widget" appears (progress.gif) and nothing happens. The server actually sends an error message back, but the client-side of the IDE doesn't deal with this and just "hangs".

The error sent by the server:

<partial-response><error><error-name>class javax.faces.application.ViewExpiredException</error-name><error-message><![CDATA[viewId:/home.jsf - View /home.jsf could not be restored.]]></error-message></error></partial-response>

Strangely, the component I was working on (request presentation in this case) continues to work normally.