Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-789

bugsystem_linecomments_trigger breaks if prevnum or linenum isn't numeric

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0
    • Precommit

    Description

      There is a possibility that :

             [[ ${prevnum} -eq ${linenum} ]]; then
      

      doesn't contain numbers (the cut fails, etc) and this causes a syntax error to be displayed.

      Attachments

        1. YETUS-789.00.patch
          1 kB
          Allen Wittenauer

        Activity

          People

            aw Allen Wittenauer
            aw Allen Wittenauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: