Q7

"get-property" command for tree item causes the item to expand.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.0
  • Fix Version/s: 1.2.2
  • Component/s: Runtime
  • Labels:
    None
  • Test Mode:
    Manual

Description

Probably this has been caused by the attempt to work around problem related to assertion of child count - unexpanded tree items can contain wrong information about child count.

Workaround for this particular issue:
instead get-item "foo" | get-property "getExpanded()" | equals true | verify-true
use get-item "foo" | get-property "getExpanded" -raw | bool | eq false | assert-true

Activity

Hide
komaz added a comment - 14/May/12 5:07 PM

To preserve compatibility, fix is pretty straightforward – it does not expand a tree item when we get "getExpanded()" property

Show
komaz added a comment - 14/May/12 5:07 PM To preserve compatibility, fix is pretty straightforward – it does not expand a tree item when we get "getExpanded()" property

People

  • Assignee:
    komaz
    Reporter:
    komaz
Vote (0)
Watch (0)

Dates

  • Created:
    25/Apr/12 8:36 PM
    Updated:
    14/May/12 5:07 PM
    Resolved:
    14/May/12 5:07 PM