-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X EE, Master
-
Fix Version/s: 7.0.0 DXP FP14, 7.0.0 DXP SP3, 7.0.3 CE GA4, 7.0.X EE, 7.1.X, Master
-
Component/s: Portal Services, Portal Services > Scripting
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Fix Priority:5
-
Git Pull Request:
Description:
When attempting to run a script through the Server Administration section of the control panel, the default script language is set to Javascript. However, as noted in a pull request by Mike Han, we should not be including other scripting executors such as Javascript into the Lifeay Foundation package. Instead, we should be moving to only use Groovy as our executor.
Since this is the case, we should not have Javascript as the default language for any script instance.
Steps to Reproduce:
- Go to Server Administration
- Go to the 'Script' tab
Expected:
Groovy is set as the language in the definition
Actual:
Javascript is set as the language in the definition
Reproduced:
DXP de-13 - Yes, and in release bundles, this issue causes an Unsupported Language Exception if Javascript is used anywhere.
Branch 70x - Yes, 1403b918fbe4be0bde83b560e20c9b81b3cfd6c7
Master - Yes, 2340bf972ad7381359fdc6df40e388d12c1daa52