Menu

#412 The code wrapper character sequence '\\' cannot cope with open parentheses

v1.1.x
fixed
critical (96)
v1.1.1
Bug Fix
2019-01-24
2018-11-28
Erik Hänel
No

The code wrapper character sequence \\ cannot cope with open parentheses.

Analysis:

The reason for this issue is that the parenthesis validation check occurs before the command line is completed again. This issue only occurs in the kernel at bool NumeReKernel::handleCommandLineSource(). Move the parenthesis validator after the line completion section.

Implementation:

  • Implementation: The fix was implemented as proposed by the analysis.
  • Revision: [r434]
  • Implementation test: The erroneous lines were executed without any deviations

Documentation:

  • ChangesLog: updated
  • Comments: Comments were added
  • Documentation articles: Not needed
  • Language files: Not needed

Tests:

This fix was tested with the example script "chargedistribution.nscr". No deviations occured. Bug fix implemented successfully.

Related

Commit: [r434]

Discussion

  • Erik Hänel

    Erik Hänel - 2018-11-28
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2018-11-28
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,18 @@
     The code wrapper character sequence `\\` cannot cope with open parentheses.
    +
    +###Analysis:
    +(*Describe, what's the issue and which changes have to be made*)
    +
    +###Implementation:
    +* Implementation: (*Describe, what you've changed*) 
    +* Revision: [rXXX]
    +* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +
    +###Documentation:
    +* ChangesLog: (*Have you updated the changes log?*)
    +* Comments: (*Have you written comments in the code, which describe your change?*)
    +* Documentation articles: (*Have you updated the documentation articles?*)
    +* Language files: (*Have you updated the language files?*)
    +
    +###Tests:
    +(*Describe, which tests you performed and their outcome*)
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2018-11-28
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     The code wrapper character sequence `\\` cannot cope with open parentheses.
    
     ###Analysis:
    -(*Describe, what's the issue and which changes have to be made*)
    +The reason for this issue is that the parenthesis validation check occurs before the command line is completed again. This issue only occurs in the kernel at `bool NumeReKernel::handleCommandLineSource()`. Move the parenthesis validator after the line completion section.
    
     ###Implementation:
    
     * Implementation: (*Describe, what you've changed*) 
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2018-11-28
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,15 +4,15 @@
     The reason for this issue is that the parenthesis validation check occurs before the command line is completed again. This issue only occurs in the kernel at `bool NumeReKernel::handleCommandLineSource()`. Move the parenthesis validator after the line completion section.
    
     ###Implementation:
    -* Implementation: (*Describe, what you've changed*) 
    -* Revision: [rXXX]
    -* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +* Implementation: The fix was implemented as proposed by the analysis.
    +* Revision: [r434]
    +* Implementation test: The erroneous lines were executed without any deviations
    
     ###Documentation:
    -* ChangesLog: (*Have you updated the changes log?*)
    -* Comments: (*Have you written comments in the code, which describe your change?*)
    -* Documentation articles: (*Have you updated the documentation articles?*)
    -* Language files: (*Have you updated the language files?*)
    +* ChangesLog: updated
    +* Comments: Comments were added
    +* Documentation articles: Not needed
    +* Language files: Not needed
    
     ###Tests:
     (*Describe, which tests you performed and their outcome*)
    
    • status: implementing --> testing
     

    Related

    Commit: [r434]

  • Erik Hänel

    Erik Hänel - 2019-01-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -15,4 +15,4 @@
    
     * Language files: Not needed
    
     ###Tests:
    -(*Describe, which tests you performed and their outcome*)
    +This fix was tested with the example script "chargedistribution.nscr". No deviations occured. Bug fix implemented successfully.
    
    • status: testing --> fixed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB