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

bugsystem_linecomments_trigger breaks if prevnum or linenum isn't numeric

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0
    • Component/s: Precommit
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: