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

When changing the Script language, the sample does not change to the respective language

    Details

      Description

      Summary
      When changing the Script language, the sample does not change to the respective language and will display the Groovy sample for any selection.

      This can appear to be broken because it shows the Groovy sample regardless of the scripting language selection. The expectation is that the sample is dynamically displayed based on the selection.

      Steps to Reproduce

      1. Navigate to Control Panel -> Configuration -> Server Administration -> Script, and notice the Groovy selection, and the Groovy script sample
      2. Switch Language to either Ruby / Python / Javascript / Beanshell

      Actual Results
      The sample doesn't change from Groovy (Default)

      Expected Behavior
      The sample change and display an example of the selected language.

      Reproduced in
      7.1.X Private Commit: d22a0085ba3d894122231249743a701b82c87a79

        Attachments

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            brian.suh Brian Suh
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 3 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP67
                7.0.X
                7.1.10 DXP FP5
                7.1.10.1 SP1
                7.1.2 CE GA3
                7.1.X
                Master