Skip to content
Tcl Source Code History Of Ticket c2f368c2015a9942
Login

History Of Ticket c2f368c2015a9942

Artifacts Associated With Ticket c2f368c2015a9942

  1. Ticket change [f0645e1d40] (rid 220363) by dgp on 2023-11-17 16:15:42:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized to:
      ==== io-52.20.1 TclCopyChannel & read encoding error & tell position FAILED
      ==== Contents of test case:
      
          # binary to encoding => the input has to be
          # in utf-8 to make sense to the encoder
      
          set in  [open $path(utf8-fcopy.txt) r]
          set out [open $path(kyrillic.txt) w]
      
          # Using "-encoding ascii" means reading the "Á" gives an error
          fconfigure $in  -encoding ascii -profile strict
          fconfigure $out -encoding koi8-r -translation lf
      
          set l {}
              # should fail, so 1 is added
          lappend l [catch {fcopy $in $out}]
              # should be at position 1, after the first correct byte, so 1 is read.
          lappend l [tell $in]
          # not sure, if flush required, but anyway
          flush $out
              # should be at position 1, after the first correct byte, so 1 is written.
          lappend l [tell $out]
      
      ---- Result was:
      1 1 0
      ---- Result should have been (exact matching):
      1 1 1
      ==== io-52.20.1 FAILED
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "dgp"
    14. subsystem initialized to: "25. Channel System"
    15. title initialized to: "io-52.20.1 test failure"
    16. type initialized to: "Bug"
  2. Ticket change [f230ec333f] (rid 220364) by dgp on 2023-11-17 16:30:21:

    1. icomment:
      
      Merging the "knownBug" constraint from 8.7 has the effect of
      ending/masking this issue.
      
      Generally, "knownBug" tagging is disfavored compared to 
      fixing bugs and/or tests to achieve proper behavior and
      proper testing.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [d9f064cf56] (rid 220379) by jan.nijtmans on 2023-11-17 22:09:20:

    1. icomment:
      It is not a good policy to add a testcase to trunk without a solution. This forces others to have a look at it. If you don't want to spend time to fix the bug, commit the testcase in a [bug-?????] branch, then give others the chance to fix the bug, then the full solution with the testcase - can be merged together.
      
      This way, the GITHUB builds will be red for multiple days, suggesting there's a regression failure. This is a long-standing bug, nog a regression.
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  4. Ticket change [c286d5935f] (rid 220386) by oehhar on 2023-11-18 01:02:54:

    1. icomment:
      Sorry, I will remove it.
      
      I just wanted to be sure, this is not forgotten.
      
      Take care,
      Harald
      
    2. login: "oehhar"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "oehhar"
  5. Ticket change [c53ad65c9d] (rid 220388) by chrstphrchvz on 2023-11-18 10:57:09:

    1. icomment:
      <blockquote>It is not a good policy to add a testcase to trunk without a solution. This forces others to have a look at it.</blockquote>
      
      I want to say this would be much less of an issue if tcltest supported marking tests as expected-fail (*without* using constraints). I suggested this in [53cdb9696c] but it seems others either do not understand the idea or find it useful.
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/x-fossil-wiki"
  6. Ticket change [c90811db7d] (rid 220399) by oehhar on 2023-11-18 17:28:06:

    1. icomment:
      Test removed from core-8-branch and main.
      
      Sorry, will not happen again.
      
      Take care,
      Harald
      
    2. login: "oehhar"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "oehhar"
  7. Ticket change [18f21b6785] (rid 220400) by oehhar on 2023-11-18 17:28:37:

    1. closedate changed to: "2460267.22821652"
    2. closer changed to: "oehhar"
    3. login: "oehhar"
    4. mimetype: "text/plain"
    5. resolution changed to: "Fixed"
    6. status changed to: "Closed"