Skip to content
Tcl Source Code History Of Ticket 813056ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 813056ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 813056ffffffffffffffffffffffffffffffffff

  1. Ticket change [0bcbb432e7] (rid 114055) by muonics on 2003-09-26 13:26:28:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Tcl_GetIndexFromObjStruct doesn't reset prior result
      information in the interpreter when generating its
      so-called (in the comments) "fancy error message". 
      This means that if you've done something that has set a
      result before calling it or Tcl_GetIndexFromObj
      (including calling Tcl_GetIndexFromObj multiple times
      with multiple errors) you get bogus error messages.
      
      In the particular case I noticed this, I have an ObjCmd
      that separates out certain option arguments that it
      wants and delegates the remaining options to another
      ObjCmd.  Here I use the TCL_ERROR vs. TCL_OK result to
      determine whether an option was matched within the set
      that the first function wants.  It's a little more
      maintainable this way (though perhaps slower with all
      those error messages being generated) to have the first
      function only know about the small subset of options
      that it wants.  At any rate, I noticed that when
      feeding the command a bunch of options where one wasn't
      recognized by either generated an error message with
      repeated error messages and other result bits.
      
      See below for suggested patch.
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "muonics"
    9. subsystem initialized to: "13. Index Object"
    10. title initialized to:
      Tcl_GetIndexFromObjStruct doesn't reset result before error
      
    11. type initialized to: "Bug"
  2. Ticket change [43d88e6d4e] (rid 116626) by muonics on 2003-09-26 20:26:28:

    1. icomment:
      
      
      File Added - 62611: tclIndexObj.c.diff
      
      
      
    2. login: "muonics"
    3. mimetype: "text/plain"
    4. username: "muonics"
  3. Add attachment "tclIndexObj.c.diff" [8bae287d27] (rid 127606) by muonics on 2003-09-26 20:26:28.

  4. Ticket change [c25abd396d] (rid 111472) by muonics on 2003-09-26 20:56:37:

    1. icomment:
      Logged In: YES 
      user_id=498198
      
      Seems to be more of a pandemic issue than just this
      function.  See bug #533364.  Just thought I should note it
      for reference (maybe someone wants to mark this as a
      duplicate or make a single bug entry for fixing this on a
      global scale).
      
      
    2. login: "muonics"
    3. mimetype: "text/plain"
    4. username: "muonics"
  5. Ticket change [f1df3bade4] (rid 109437) by dgp on 2003-11-13 08:21:37:

    1. foundin changed to: "obsolete: 8.4.5"
  6. Ticket change [a8455cf5eb] (rid 98953) by dgp on 2006-03-10 13:49:47:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Is this report still valid?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [25e47c7820] (rid 88244) by dgp on 2006-03-10 22:49:47:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2006-03-10T15:49:47"
    3. closer changed to: "dgp"
    4. icomment:
      Logged In: YES 
      user_id=80530
      
      
      the specifc bug reported
      has been fixed, and I believe
      the general issue has been
      corrected too.
      
      See 2004-10-06 ChangeLog entry.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Pending"
    9. username: "dgp"
  8. Ticket change [64ef961157] (rid 92861) by sf-robot on 2006-03-25 10:22:11:

    1. closedate changed to: "2006-03-25T03:22:11"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"