tppegu
15 years agoContributor
Silverlight name mapping issue
Hi all.
In TC 7.52, I'm having a consistent problem with Silverlight objects and name mapping. When I first start examining objects in the object browser, any mapped objects correctly show something in the MappedName field. After a while though, TC seems to lose track of mapped Silverlight objects, and it enters a state in which all Silverlight objects (up to the level of the MicrosoftSilverlight WndClass object) show nothing in the MappedName field no matter how many times I refresh. While in this state, most things still seem to work OK; for example, I can use the "Show in Object Browser" function in the name mapping panel to correctly locate the mapped object. However, if I try to use the "Map Object Name" function from the object browser, then it prompts me to map all the parent objects, which are already mapped. Very annoying.
Until today this has only been a fairly frequent but inconsistent problem. But today I am finding that I can consistently cause TC to enter this state by simply using the "Map Object Name" function on a child of an already mapped object. While everything is working correctly, I use that function to map a new object. This works as expected, but immediately afterwards the MappedName field in all silverlight objects is now blank. Any subsequent attempts to map additional objects result in a prompt to map all the parent objects up to the level of the main Silverlight object.
I can work around the problem by reloading the page that hosts the main Silverlight object, after which name mappings show correctly again, and I can map one more object before the problem returns.
Does anyone else have similar issues? I know that I've used this particular workflow in the past without any problems, but I don't know what's changed or when this started. I suspect it's a problem with TC 7.5 vs 7.0, but I'm not sure.
I'm using IE7, by the way, on a native (i.e. not a VM) Vista system.
In TC 7.52, I'm having a consistent problem with Silverlight objects and name mapping. When I first start examining objects in the object browser, any mapped objects correctly show something in the MappedName field. After a while though, TC seems to lose track of mapped Silverlight objects, and it enters a state in which all Silverlight objects (up to the level of the MicrosoftSilverlight WndClass object) show nothing in the MappedName field no matter how many times I refresh. While in this state, most things still seem to work OK; for example, I can use the "Show in Object Browser" function in the name mapping panel to correctly locate the mapped object. However, if I try to use the "Map Object Name" function from the object browser, then it prompts me to map all the parent objects, which are already mapped. Very annoying.
Until today this has only been a fairly frequent but inconsistent problem. But today I am finding that I can consistently cause TC to enter this state by simply using the "Map Object Name" function on a child of an already mapped object. While everything is working correctly, I use that function to map a new object. This works as expected, but immediately afterwards the MappedName field in all silverlight objects is now blank. Any subsequent attempts to map additional objects result in a prompt to map all the parent objects up to the level of the main Silverlight object.
I can work around the problem by reloading the page that hosts the main Silverlight object, after which name mappings show correctly again, and I can map one more object before the problem returns.
Does anyone else have similar issues? I know that I've used this particular workflow in the past without any problems, but I don't know what's changed or when this started. I suspect it's a problem with TC 7.5 vs 7.0, but I'm not sure.
I'm using IE7, by the way, on a native (i.e. not a VM) Vista system.