-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X
-
Fix Version/s: 7.0.0 DXP FP44, 7.0.6 CE GA7, 7.0.0 DXP SP8, 7.0.X
-
Component/s: Portal Services > Scripting
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Git Pull Request:
Steps to reproduce
- Setup clean bundle and install DE-42
- Start Liferay and navigate to "Server Administration"
- Navigate to "Script" and execut "import com.liferay.portal.scripting.executor.groovy.GroovyScriptingContext" with Groovy"
Actual result
The follwing error is thrown.
2018-03-27 06:50:00.202 ERROR [http-nio-8080-exec-9][EditServerMVCActionCommand:475] SanitizerLogWrapper warning: Following message contains CRLF characters startup failed: Script1.groovy: 1: unable to resolve class com.liferay.portal.scripting.executor.groovy.GroovyScriptingContext @ line 1, column 1. import com.liferay.portal.scripting.executor.groovy.GroovyScriptingContext ^ 1 error
Expected result
No error is thrown.
Reproduced in
DE-42
70x: f992895d7bce589945cc2cf7b9e0e0be95e763ec
master: efcf5dbdce822db51945216cdb0e05634cb73489
Not reproduced in
DE-32