Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
2.6.8
-
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".