Artifacts Associated With Ticket 31cdc84bd2
Ticket change [95cd5e9a70] (rid 223168) by anonymous on 2024-03-13 17:21:17:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
This commit appears to have inadvertently added a debug break that causes ::yaml::_parsePlainScalarInBlock to stop after the fifth line of a plain multi-line scalar: https://core.tcl-lang.org/tcllib/info/fc59390525aeda7e The bad code: proc ::yaml::_parsePlainScalarInBlock {base {loop 0}} { if {$loop == 5} { return } The code appears to still be present in the current git: https://core.tcl-lang.org/tcllib/blame?filename=modules/yaml/yaml.tcl&checkin=5be206c63f7681c9 I think the tests may have strings short enough not to expose the bug. Example testcase: % set str {my_thing: one two three four five six} % puts [::yaml::yaml2dict $str] my_thing {one two three four five} - foundin initialized to: "latest"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "e88cafe169293ede9723368192937e2211e6d2ea"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "None"
- title initialized to:
::yaml::_parsePlainScalarInBlock only parses the first 5 lines of a plain scalar
- type initialized to: "Bug"
Ticket change [5ff3dde6b0] (rid 253757) by apnadkarni on 2026-05-22 10:23:58:
- closedate changed to: "2461182.9333138657"
- closer changed to: "apnadkarni"
- icomment:
This is a tcllib issue, not Tcl. Moved to tcllib repository [a23348be0b](https://core.tcl-lang.org/tcllib/tktview/a23348be0b)
- login: "apnadkarni"
- mimetype: "text/x-markdown"
- resolution changed to: "Invalid"
- status changed to: "Closed"