Menu

#421 Issue with 'get' command

v1.1.x
fixed
None
v1.1.1
Bug Fix
2019-01-26
2018-12-07
Erik Hänel
No

The return values of the get command cannot be catched into variables for some reason. The issue occured in the block of a if control flow statement

Analysis:

The option value windowsize of the get command does not assign its numerical return value to the target variable but to the variables x and y.

Implementation:

  • Implementation: The fix was implemented as indicated by the analysis.
  • Revision: [r443]
  • Implementation test: The return values could be assigned as expected.

Documentation:

  • ChangesLog: updated
  • Comments: not needed
  • Documentation articles: not needed
  • Language files: not needed

Tests:

Fix was added to the automatic tests. No deviations occured. Bug fix implemented successfully.

Related

Commit: [r443]

Discussion

  • Erik Hänel

    Erik Hänel - 2018-12-07
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2018-12-07
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,18 @@
     The return values of the `get` command cannot be catched into variables for some reason. The issue occured in the block of a `if` control flow statement
    +
    +###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-12-08
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     The return values of the `get` command cannot be catched into variables for some reason. The issue occured in the block of a `if` control flow statement
    
     ###Analysis:
    -(*Describe, what's the issue and which changes have to be made*)
    +The option value `windowsize` of the `get` command does not assign its numerical return value to the target variable but to the variables `x` and `y`.
    
     ###Implementation:
    
     * Implementation: (*Describe, what you've changed*) 
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2018-12-08
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,15 +4,15 @@
     The option value `windowsize` of the `get` command does not assign its numerical return value to the target variable but to the variables `x` and `y`.
    
     ###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 indicated by the analysis.
    +* Revision: [r443]
    +* Implementation test: The return values could be assigned as expected.
    
     ###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: not needed
    +* Documentation articles: not needed
    +* Language files: not needed
    
     ###Tests:
     (*Describe, which tests you performed and their outcome*)
    
    • status: implementing --> testing
     

    Related

    Commit: [r443]

  • Erik Hänel

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

    Diff:

    --- old
    +++ new
    @@ -15,4 +15,4 @@
    
     * Language files: not needed
    
     ###Tests:
    -(*Describe, which tests you performed and their outcome*)
    +Fix was added to the automatic tests. No deviations occured. Bug fix implemented successfully.
    
    • status: testing --> fixed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB