Ticket UUID: | fdf6afed946042195041780a5b6d30b88de12315 | |||
Title: | cache::async error when calling the clear method - Attached BugFix | |||
Type: | Bug | Version: | 1.19 | |
Submitter: | anonymous | Created on: | 2018-08-30 20:35:21 | |
Subsystem: | A Category Is Missing | Assigned To: | akupries | |
Priority: | 5 Medium | Severity: | Critical | |
Status: | Closed | Last Modified: | 2019-02-21 23:33:15 | |
Resolution: | Fixed | Closed By: | aku | |
Closed on: | 2019-02-21 23:33:15 | |||
Description: |
cache::async 0.3 has a critical bug. By running the following code ----------------------------- package require cache::async proc myDataFetcher args { } cache::async myDataProvider myDataFetcher myDataProvider clear KEY -------------------------------------------- .. an error is raised errorInfo: can't read "arg": no such variable while executing "llength $arg" (procedure "::cache::async::Snit_methodclear" line 18) invoked from within "myDataProvider clear KEY" Fixing the bug only requires to correct "arg" in "args". I included a zip with all the updated files - async.tcl -- the main correction, and version changed to 0.3.1 - pkgIndex.tcl -- version changed from 0.3 to 0.3.1 - async.test -- added 2 testcases ABU | |||
User Comments: |
aku added on 2019-02-21 23:33:15:
And done with commit [5e257ddf79]. aku added on 2019-02-21 22:17:42: Thanks for that, and thanks for everybody's patience. Currently running the entire test suite as the last check. I do not expect to see issues, the small run just on the module was good, and I am not aware of dependent modules in Tcllib. andrewm (claiming to be amangogna) added on 2018-12-15 00:28:46: Assigning back the fix to Andreas for his review and approval. Andrew Mangogna andrewm (claiming to be amangogna) added on 2018-12-14 17:01:01: I'm assigning this bug to myself. The submitter has included the fix, so it will be a matter of applying it. Andrew Mangogna |
Attachments:
- cache-0.3.1.zip [download] added by anonymous on 2018-08-30 20:36:06. [details]