Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
unspecified
-
None
-
Cocoon-2.1.5.1 portal
Description
Use of renderResponse.getNamespace() method is primary for prefixing names of script variables and functions in portlets.
In Cocoon-2.1.5.1 portal environment renderRequest.getNamespace() returns i.e. 'Helloworld-1' and Pluto consequently constructs namespace as 'Pluto_Helloworld-1_'. Such a name is not valid name for Javascript function or variable.
Patch that translates all '-' to '_' in returning namespace is attached.