Bug 546909

Summary: Atk.Relation bug with ListView (ListBox in Silverlight)
Product: [Mono] UI Automation Reporter: Andres Aragoneses <aaragoneses>
Component: Winforms - ATKAssignee: Andres Aragoneses <aaragoneses>
Status: RESOLVED FIXED QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P5 - None    
Version: Unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 489941    

Description Andres Aragoneses 2009-10-14 14:43:19 UTC
There's a regression in the test suite regarding Atk.Relations:

Tests run: 1, Failures: 1, Not run: 0, Time: 10.146 seconds

Test Case Failures:
1) UiaAtkBridgeTest.BridgeTests.ListView :   Relation (NodeChildOf)
  Expected: not null                                               
  But was:  null

at UiaAtkBridgeTest.AtkTester+<Relation>c__AnonStoreyC.<>m__17 () [0x00019] in /home/knocte/Documents/iDocs/Proyectos/mono/a11y/uia2atkREALLYNOC/UiaAtkBridge/Test/AtkTest/AtkTester.cs:2079
at UiaAtkBridgeTest.BridgeTester.RunInGuiThread (System.Action d) [0x00000] in /home/knocte/Documents/iDocs/Proyectos/mono/a11y/uia2atkREALLYNOC/UiaAtkBridge/Test/UiaAtkBridgeTest/BridgeTester.cs:277

I'm tracking it down to a bug somewhere in GetAdapterForProvider(), which shouldn't return null for a provider which is parent of another provider who has an Adapter counterpart.
Comment 1 Andres Aragoneses 2009-10-14 17:43:38 UTC
Working on this.
Comment 2 Andres Aragoneses 2009-10-16 15:08:39 UTC
Fixed in r144274,144275.