Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-71899

Change default script language to Groovy

Details

    Description

      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:

      1. Go to Server Administration
      2. 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

      Attachments

        Issue Links

          Activity

            People

              hong.zhao Hong Zhao (Inactive)
              christopher.kian Christopher Kian
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 34 weeks ago

                Packages

                  Version Package
                  7.0.0 DXP FP14
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.X EE
                  7.1.X
                  Master