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

$firstwords function doesn't catch IndexError

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.2
    • Component/s: Scripting
    • Labels:
      None
    • Environment:
      Windows 7

      Description

      The `$firstwords` function does not catch and handle IndexError.  For example, the following will crash.

      $firstwords(one two three four,-40)
      

       

        Attachments

          Activity

            People

            Assignee:
            rdswift Bob Swift
            Reporter:
            rdswift Bob Swift
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package
                2.3.2