Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-4063

gsh template add a "warning" output status

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 2.6.8
    • UI
    • None

    Description

      Jeffrey Crawford Yesterday at 7:52 PM
      Random question about GSH templates and gsh_builtin_gshTemplateOutput.addOutputLine it looks like the message types are only success (green), info (blue) and error (red) but when I set to error it seems to think the script failed and it rolls everything back. Is there something like “warn” (yellow) possible, or is there a way to have a error message that doesn’t make the system think there was an error we can’t handle (I’m asking for a list of users, and if any can’t be found, I just want to display a message regarding that.)

      I don't know if we can make just those lines yellow, or if the whole div needs to be yellow.

      IIRC these statuses are magic string values. It would be good to have an enum version of these too, which would make it more "Java-like".

       

       

      Attachments

        Activity

          People

            chad.redman.3@at.internet2.edu Chad Redman
            chad.redman@at.internet2.edu Chad Redman (unc.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: