Menu

#635 Calling 'clear' or 'delete' on a nonexistent table should not throw an error

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

Calling the clear command on a non-existent table should not throw an error.

Analysis:

Can be resolved by removing the SyntaxError in cmd_clear and the call to the documentation in cmd_delete.

Implementation:

  • Implementation: Implemented as proposed by the analysis.
  • Revision: [r1000]
  • Implementation test: clear and delete were used with a non-existent table. No error was thrown.

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 tested manually. No deviations detected.

Related

Commit: [r1000]

Discussion

  • Erik Hänel

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

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

    Diff:

    --- old
    +++ new
    @@ -1 +1,23 @@
     Calling the `clear` command on a non-existent table should not throw an error.
    +
    +###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-04
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     Calling the `clear` command on a non-existent table should not throw an error.
    
     ###Analysis:
    -(*Describe, what's the issue and which changes have to be made*)
    +Can be resolved by removing the `SyntaxError` in `cmd_clear` and the call to the documentation in `cmd_delete`.
    
     ###Implementation:
     * Implementation: (*Describe, what you've changed*) 
    
    • status: analyzing --> implementing
     
  • Erik Hänel

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

    Diff:

    --- old
    +++ new
    @@ -4,20 +4,20 @@
     Can be resolved by removing the `SyntaxError` in `cmd_clear` and the call to the documentation in `cmd_delete`.
    
     ###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: [r1000]
    +* Implementation test: `clear` and `delete` were used with a non-existent table. No error was thrown.
    
     ###Documentation:
    -* [ ] ChangesLog updated
    +* [x] ChangesLog updated
     * [ ] 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: [r1000]

  • Erik Hänel

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

    Diff:

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

Anonymous
Anonymous

Add attachments
Cancel