Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2911

Cannot save options if script contains disabled function

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Scripting, User Interface
    • None

      If a script contains a function added by a plugin which has been disabled, the option settings cannot be saved unless the script is edited to remove (or comment out) the function.  This sort of makes sense, but perhaps we can find a more user-friendly way of handling this?

      Perhaps the script could be saved (as long as the opening and closing brackets match on the function), but when executed it would log an error and the missing/disabled function would simply return an empty string, thus allowing the rest of the script to process?

      There are probably other ways to handle this, and I'm open to suggestions if this is something that we want to do.

            Unassigned Unassigned
            rdswift Bob Swift
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Version Package