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

Only the result of Groovy's Script execution is displayed in the UI, all other languages are displayed in the Console

    Details

    • Fix Priority:
      4

      Description

      Summary
      Only the result of Groovy's Script execution is displayed in the UI, all other languages are displayed in the Console

      This should be consistent as not every developer will know to check the output of the Application Server to see the script execution, as Groovy script results are displayed in the UI.

      Steps to Reproduce

      1. Navigate to Control Panel -> Configuration -> Server Administration -> Script
      2. Execute the sample Groovy script in Groovy
      3. Assert that the output is displayed under the script text area
      4. Change the language to Ruby
      5. Type puts 'Hello, world!' in the script text area, then execute.
      6. Assert that the sample is not on the UI, but in the app server console
      7. Change the language to Python
      8. Type print("Hello, World!") then execute
      9. Assert that the sample is not on the UI, but in the app server console

      Actual Results
      Only Groovy scripts outputs are printed in the UI.

      Expected Behavior
      All of the other scripts outputs are printed in the UI.

      Reproduced in
      7.1.X Private Commit: d22a0085ba3d894122231249743a701b82c87a79

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 48 weeks, 5 days ago

                Packages

                Version Package