sample script for Changelog GSH script refers to test class EsbPublisherChangeLogScriptTest

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • 4.14.1, 5.11.2
    • Affects Version/s: 4.1.5
    • Component/s: None
    • None

      The sample script in the UI page for Changel og GSH scripts includes the line:

      EsbPublisherChangeLogScriptTest.count++;

      This is in a test class, and so isn't packaged in the Grouper image. Using that script fails with error:

      javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: EsbPublisherChangeLogScriptTest for class: Script1,
      Error on original script line number: 15
      Error on prepended script line number: 15
      Error on profile prepended script line number: 311
      Error with line:   EsbPublisherChangeLogScriptTest.count++; 
       
      	at edu.internet2.middleware.grouper.app.gsh.GrouperGroovysh$2$1.callback(GrouperGroovysh.java:417)
      	... 20 more
      Caused by: groovy.lang.MissingPropertyException: No such property: EsbPublisherChangeLogScriptTest for class: Script1
      	at Script1.run(Script1.groovy:311)
      	... 21 more
      Did not get all the way through the batch! -1 != 1694
      

            Assignee:
            Chris Hyzer (upenn.edu)
            Reporter:
            Chad Redman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: