Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2000-10-26
08:21 • Closed ticket [218425ffff]: unitialized variable fails info exist test plus ... artifact: 4dba743f61 user: welch
00:57 • New ticket [218425ffff]. artifact: 83f3fcf29e user: nobody

unitialized variable fails info exist test

Closed / Fixed218425ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:57:27
OriginalBugID: 5918 Bug
Version: 8.2
SubmitDate: '2000-06-19'
LastModified: '2000-09-06'
Severity: LOW
Status: Closed
Submitter: key
ChangedBy: hobbs
RelatedBugIDs: 2912
OS: All
FixedDate: '2000-10-25'
ClosedDate: '2000-09-06'


steps to reproduce:
1)  start BLE
2)  open $cvs/xmlserver/test/handlers/rb/v2/evalharness.shd
3)  publish (or copy) the corresponding .xtcl file to an apache server
    titanic (or $titanic as the case may be) directory
4)  post $cvs/xmlserver/test/handlers/rb/v2/evalharness05.xml using the Post XML document window

expected result:
uncertain.
having the undeclared SKIP variable in the [info vars] list is confusing when it will fail the [info exist SKIP] test.
where does SKIP come from and why does it exist?

actual result:
SKIP fails the [info exist SKIP] 



this bug is closed because this is expected behavior.
it is unusual that [info vars] reports something that [info exists] will report false for. 
-- 10/08/1999 key
integrated closed for 2023 ajuba. 
-- 06/19/2000 key
this bug is cloned from report 2912.  i've open this bug for the core team to determine if there is something that needs to be done here.

It seems odd that a variable can be declared and manipulated, but
that it can fail the info exists test.
--

This is the correct, by design behavior for declared, but not yet
defined variables in namespaces. 
-- 09/06/2000 hobbs
welch Closed ticket [218425ffff]. [History diff]2000-10-26 08:21:19
Log in (anonymous is fine) to add a comment.