Tcl Library Source Code

Ticket Change Details
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Artifact ID: e8007f4133afd1334179896451d6a436af1b9e9fe23b330bd77f1c462973fbf2
Ticket: fdf6afed946042195041780a5b6d30b88de12315
cache::async error when calling the clear method - Attached BugFix
User & Date: anonymous 2018-08-30 20:35:21

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/plain"
  4. Change comment to:

    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


  5. Change foundin to "1.19"
  6. Change is_private to "0"
  7. Change login to "anonymous"
  8. Change priority to "5 Medium"
  9. Change private_contact to "af9c70d5700d5af288b87a3a9ed94e1300911d18"
  10. Change resolution to "None"
  11. Change severity to "Critical"
  12. Change status to "Open"
  13. Change submitter to "anonymous"
  14. Change subsystem to "A Category Is Missing"
  15. Change title to:

    cache::async error when calling the clear method - Attached BugFix

  16. Change type to "Bug"