Menu

#629 'load -totable=TAB() -i' does not work as expected

v1.1.x
fixed
v1.1.3
Bug Fix
2022-01-18
2021-08-24
Erik Hänel
No

The command sequence load FILE -totable=TAB() -ignore does not clear the contents of TAB() first but appends the contents to the already available table.

Analysis:

This feature has to be included into the virtual melt() method in the FileAdapter class, to provide the correct functionality.

Implementation:

  • Implementation: Implemented as proposed by the analysis.
  • Revision: [r1008]
  • Implementation test: Files were loaded with the -totable -i parameter sequence and were cleared before data was loaded.

Documentation:

  • ChangesLog updated
  • Code changes commented
  • Documentation articles:
    • corresponding documentation articles updated
    • new documentation articles created
    • not needed
  • Language files:
    • corresponding language files updated
    • not needed

Tests:

Fix was added to the automatic SW tests. No deviation detected.

Related

Commit: [r1008]

Discussion

  • Erik Hänel

    Erik Hänel - 2021-08-24
    • labels: --> internal, cmd
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2021-08-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,23 @@
     The command sequence `load FILE -totable=TAB() -ignore` does not clear the contents of `TAB()` first but appends the contents to the already available table.
    +
    +###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 updated
    +* [ ] Code changes commented
    +* **Documentation articles:**
    +    * [ ] corresponding documentation articles updated
    +    * [ ] new documentation articles created
    +    * [ ] not needed
    +* **Language files:**
    +    * [ ] corresponding language files updated
    +    * [ ] not needed
    +
    +###Tests:
    +(*Describe, which tests you performed and their outcome*)
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2021-09-09
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     The command sequence `load FILE -totable=TAB() -ignore` does not clear the contents of `TAB()` first but appends the contents to the already available table.
    
     ###Analysis:
    -(*Describe, what's the issue and which changes have to be made*)
    +This feature has to be included into the virtual `melt()` method in the `FileAdapter` class, to provide the correct functionality.
    
     ###Implementation:
     * Implementation: (*Describe, what you've changed*) 
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2021-09-10
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,20 +4,20 @@
     This feature has to be included into the virtual `melt()` method in the `FileAdapter` class, to provide the correct functionality.
    
     ###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: Implemented as proposed by the analysis.
    +* Revision: [r1008]
    +* Implementation test: Files were loaded with the `-totable -i` parameter sequence and were cleared before data was loaded.
    
     ###Documentation:
    -* [ ] ChangesLog updated
    -* [ ] Code changes commented
    +* [x] ChangesLog updated
    +* [x] Code changes commented
     * **Documentation articles:**
         * [ ] corresponding documentation articles updated
         * [ ] new documentation articles created
    -    * [ ] not needed
    +    * [x] not needed
     * **Language files:**
         * [ ] corresponding language files updated
    -    * [ ] not needed
    +    * [x] not needed
    
     ###Tests:
     (*Describe, which tests you performed and their outcome*)
    
    • status: implementing --> testing
     

    Related

    Commit: [r1008]

  • Erik Hänel

    Erik Hänel - 2022-01-18
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -20,4 +20,4 @@
         * [x] not needed
    
     ###Tests:
    -(*Describe, which tests you performed and their outcome*)
    +Fix was added to the automatic SW tests. No deviation detected.
    
    • status: testing --> fixed
     

Anonymous
Anonymous

Add attachments
Cancel