yetus-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YETUS-789) bugsystem_linecomments_trigger breaks if prevnum or linenum isn't numeric
Date Sat, 02 Feb 2019 17:41:00 GMT

    [ https://issues.apache.org/jira/browse/YETUS-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16759129#comment-16759129
] 

Allen Wittenauer commented on YETUS-789:
----------------------------------------

Thanks!

Committing this to master.

> bugsystem_linecomments_trigger breaks if prevnum or linenum isn't numeric
> -------------------------------------------------------------------------
>
>                 Key: YETUS-789
>                 URL: https://issues.apache.org/jira/browse/YETUS-789
>             Project: Yetus
>          Issue Type: Bug
>          Components: Test Patch
>    Affects Versions: 0.9.0
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>            Priority: Blocker
>              Labels: beginner
>         Attachments: YETUS-789.00.patch
>
>
> There is a possibility that :
> {code}
>        [[ ${prevnum} -eq ${linenum} ]]; then
> {code}
> doesn't contain numbers (the cut fails, etc) and this causes a syntax error to be displayed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message