Skip to content
Tcl Source Code Artifact [62868ca95d]
Login

Artifact [62868ca95d]

Artifact 62868ca95d59563e9d0bb41fae84cd7f5460500331d512848e466515365438ff:

Ticket change [62868ca95d] - New ticket [e39cb3f462631a99|e39cb3f462] <i>namespace is removed from other namespace paths before deletion is complete</i>. by pooryorick on 2021-05-18 21:43:56.
D 2021-05-18T21:43:56.626
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment At\sleast\sup\suntil\scommit\s[2e5531f5f88d047f],\sin\sthe\sfollowing\sscript,\s\sthe\r\ncommand\sbeing\sdeleted\sis\ssuccesfully\scalled\sduring\sfirst\strace,\sbut\snot\sduring\r\nthe\ssecond\strace.\s\sThe\sdifference\sis\sthat\sin\sthe\ssecond\sscript\s"p1"\sis\snot\r\nresolved\seven\sthough\sns2,\swhich\sis\sin\sthe\sprocess\sof\sbeing\sdeleted,\sis\sin\sthe\r\npath.\s\sThe\snamespace\sis\snot\syet\sfully\sdeleted\sthough,\sand\sp1\sshould\sstill\sexist\r\nbecause\sthe\strace\son\sit\sis\sstill\sin\sprogress.\s\sThe\ssuccess\sof\sthe\sfirst\strigger\r\nillustrates\sthat\sthe\sname\sstill\sexists\sand\sthat\sthe\sroutine\scan\sstill\sbe\r\naccessed\susing\sa\sfully-qualified\sname.\s\sLikewise,\s"p1"\sshould\sbe\ssuccesfully\r\nresolved\sduring\sthe\ssecond\strigger.\r\n\r\nA\srelated\stest\scase,\snamespace-51.13,\sincludes\san\sold\scomment\sasking\swhether\r\nthe\soutcome\sof\sthe\stest\sshould\sinstead\sbe\swhat\sis\sproposed\shere.\r\n\r\n\r\n\r\n<code><verbatim>\r\nnamespace\seval\sns1\s{\r\n\tproc\sp1\scaller\s{\r\n\t\tlappend\s[namespace\sparent]::res\s$caller\r\n\t}\r\n}\r\n\r\n\r\nnamespace\seval\sns1a\s{\r\n\tnamespace\spath\s[namespace\sparent]::ns1\r\n\r\n\tproc\st1\s{old\snew\sop}\s{\r\n\t\t$old\st1\r\n\t}\r\n}\r\n\r\nnamespace\seval\sns2\s{\r\n\tproc\sp1\scaller\s{\r\n\t\tlappend\s[namespace\sparent]::res\s$caller\r\n\t}\r\n}\r\n\r\nnamespace\seval\sns2a\s{\r\n\tnamespace\spath\s[namespace\sparent]::ns2\r\n\r\n\tproc\st1\s{old\snew\sop}\s{\r\n\t\t[namespace\stail\s$old]\st2\r\n\t}\r\n}\r\n\r\n\r\ntrace\sadd\scommand\sns1::p1\sdelete\sns1a::t1\r\nnamespace\sdelete\sns1\r\n\r\ntrace\sadd\scommand\sns2::p1\sdelete\sns2a::t1\r\nnamespace\sdelete\sns2\r\n\r\nputs\s$res\s;#\s->\st1\s\r\n</verbatim></code>
J is_private 0
J login pooryorick
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter pooryorick
J subsystem 21.\s[namespace]
J title namespace\sis\sremoved\sfrom\sother\snamespace\spaths\sbefore\sdeletion\sis\scomplete
J type Bug
K e39cb3f462631a9973e48d27cf5098ca6b537aaf
U pooryorick
Z 1385372be00eb2ba01939808dcb4507e