Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.0
Description
Often reported by users:
[http://localhost:8080/xwiki/bin/get/WikiManager/WikiTemplateProvisioningService?outputSyntax=plain&wikiId=knowledgebase] ERROR o.x.v.i.DefaultVelocityEngine - Left side ($errors.size()) of '>' operation has null value at 126:xwiki:WikiManager.WikiTemplateProvisioningService[line 8, column 21] 2015-02-11 19:07:47,047 [http://localhost:8080/xwiki/bin/get/WikiManager/WikiTemplateProvisioningService?outputSyntax=plain&wikiId=knowledgebase] ERROR o.x.v.i.DefaultVelocityEngine - Left side ($errors.size()) of '>' operation has null value at 82:xwiki:WikiManager.WikiTemplateProvisioningService[line 8, column 21] 2015-02-11 19:07:48,067 [http://localhost:8080/xwiki/bin/get/WikiManager/WikiTemplateProvisioningService?outputSyntax=plain&wikiId=knowledgebase] ERROR o.x.v.i.DefaultVelocityEngine - Left side ($errors.size()) of '>' operation has null value at 128:xwiki:WikiManager.WikiTemplateProvisioningService[line 8, column 21]
Issue: Wrong javascript is executed when the javascript code from the standard WikiManager.CreateWiki page is cached by the browser
Since WikiManager.WikiTemplateProvisioningService is used by the standard WikiManager.CreateWiki but not the one from the Wiki Flavor Application, it proves that the wrong javacript is executed.
A solution could be to simply move the javascript code to an other page. The URL would be different and the browser would not use its cache.