Menu

#424 Results of string functions cannot be used as part of vectors

v1.1.x
fixed
critical (96)
v1.1.1
Bug Fix
2019-01-26
2018-12-17
Erik Hänel
No

If one wants to use the return value of a string function as part of a vector, it is not possible:

{1:sTest.len}

does not work.

Analysis:

The issue is the legacy vector parser, which forces the string parse the expression before it is evaluated numerically.

Implementation:

  • Implementation: The fix was processed as indicated by the analysis.
  • Revision: [r445]
  • Implementation test: The erroneous line was executed and all deviations were removed.

Documentation:

  • ChangesLog: Updated
  • Comments: The changed sections were commented sufficiently
  • 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: [r445]

Discussion

  • Erik Hänel

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

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

    Diff:

    --- old
    +++ new
    @@ -3,3 +3,20 @@
         {1:sTest.len}
    
     does not work.
    +
    +###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-17
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -5,7 +5,7 @@
     does not work.
    
     ###Analysis:
    -(*Describe, what's the issue and which changes have to be made*)
    +The issue is the legacy vector parser, which forces the string parse the expression before it is evaluated numerically.
    
     ###Implementation:
    
     * Implementation: (*Describe, what you've changed*) 
    
    • status: analyzing --> implementing
     
  • Erik Hänel

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

    Diff:

    --- old
    +++ new
    @@ -8,15 +8,15 @@
     The issue is the legacy vector parser, which forces the string parse the expression before it is evaluated numerically.
    
     ###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 processed as indicated by the analysis.
    +* Revision: [r445]
    +* Implementation test: The erroneous line was executed and all deviations were removed.
    
     ###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: The changed sections were commented sufficiently
    +* Documentation articles: Not needed
    +* Language files: not needed
    
     ###Tests:
     (*Describe, which tests you performed and their outcome*)
    
    • status: implementing --> testing
     

    Related

    Commit: [r445]

  • Erik Hänel

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

    Diff:

    --- old
    +++ new
    @@ -19,4 +19,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