Comment 1 for bug 157866

Mats (matsben) wrote :

It is a JID containing a "!" (<email address hidden>/Fox!MURDER) where ! is a protected character in TreeCtrl that creates the problem. I am backslashing all protected chars but this seems not to help. See below:

() 1 % set tag {jid <email address hidden>/Fox!MURDER}
jid <email address hidden>/Fox!MURDER
() 2 % treeutil::protect $tag
jid <email address hidden>/Fox\!MURDER
() 3 % set T $RosterTree::T
.jmain.f.ro.box.tree
() 4 % $T item id [list tag $tag]
Invalid boolean operator in tag search expression
() 5 % set ptag [treeutil::protect $tag]
jid <email address hidden>/Fox\!MURDER
() 6 % $T item id [list tag $ptag]
Invalid boolean operator in tag search expression