-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
- Start wiquery demo
- open the slider page
- refresh the page (F5)
- all further Ajax calls fail with StalePageException
This issue is caused by the cached statement in JsScope:
public CharSequence render()
{
if (statement == null)
{
statement = new StringBuilder();
statement.append("function(");
statement.append(scopeContext.scopeDeclaration());
statement.append(") {\n");
execute(scopeContext);
statement.append(scopeContext.render());
closeScope();
}
return statement.toString();
}
The rendered callbackScript from SliderAjaxJsScopeUiEvent#execute() contains the render count of the page. Since this is never updated, all following requests are rejected because the page count doesn't match the one of the stored page.
Metadata
Metadata
Assignees
Labels
No labels