Q7

When a tree item contains slash, searching an item by column does not work

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.10
  • Fix Version/s: 1.3.13
  • Component/s: Runtime
  • Labels:
  • Test Mode:
    Q7
  • Q7 test:
    tests/coverage/swt/tree/Tree With Slashes Test.test

Description

Ticket 657

  1. Use standard Tasks view
  2. Create a task named "foo/bar"
  3. Record task name assertion
      get-view Tasks | get-tree | get-item "foo\\/bar" -column Description | get-property "columns[2]" | equals "foo/bar" | assert-true
      
  4. Replay fails with error:
      The item "[foo, bar#Description#]" could not be found 
        at get-item
      
  5. Surprisingly, selection works correctly:
      get-view Tasks | get-tree | select "foo\\/bar" -column Description
      

Activity

Ulyana Skorokhodova made changes - 23/Dec/13 7:25 PM
Field Original Value New Value
Labels customer
Vasili Gulevich made changes - 23/Jun/14 11:27 AM
Assignee Vasily Loginov [ vasily.loginov ] Ulyana Skorokhodova [ ulik ]
Vasili Gulevich made changes - 24/Jun/14 10:51 PM
Description # Use standard Tasks view
# Create a task named "foo/bar"
# Record task name assertion
  {noformat}
  get-view Tasks | get-tree | get-item "foo\\/bar" -column Description | get-property "columns[2]" | equals "foo/bar" | assert-true
  {noformat}
# Replay fails with error:
  {noformat}
  The item "[foo, bar#Description#]" could not be found
    at get-item
  {noformat}
# Surprisingly, selection works correctly:
  {noformat}
  get-view Tasks | get-tree | select "foo\\/bar" -column Description
  {noformat}
[Ticket 657|http://xored.freshdesk.com/helpdesk/tickets/657]


# Use standard Tasks view
# Create a task named "foo/bar"
# Record task name assertion
  {noformat}
  get-view Tasks | get-tree | get-item "foo\\/bar" -column Description | get-property "columns[2]" | equals "foo/bar" | assert-true
  {noformat}
# Replay fails with error:
  {noformat}
  The item "[foo, bar#Description#]" could not be found
    at get-item
  {noformat}
# Surprisingly, selection works correctly:
  {noformat}
  get-view Tasks | get-tree | select "foo\\/bar" -column Description
  {noformat}
Ulyana Skorokhodova made changes - 24/Jun/14 11:21 PM
Assignee Ulyana Skorokhodova [ ulik ] Vasili Gulevich [ vasili.gulevich ]
Vasili Gulevich made changes - 24/Jun/14 11:25 PM
Assignee Vasili Gulevich [ vasili.gulevich ] Vasily Loginov [ vasily.loginov ]
Ulyana Skorokhodova made changes - 25/Jun/14 12:02 AM
Q7 test tests/coverage/swt/tree/Tree With Slashes Test.test
Resolution Fixed [ 1 ]
Test Mode Manual Q7
Status Open [ 1 ] Resolved [ 5 ]

People

  • Assignee:
    vasily.loginov
    Reporter:
    komaz
Vote (0)
Watch (0)

Dates

  • Created:
    19/Dec/13 3:42 PM
    Updated:
    25/Jun/14 2:19 PM
    Resolved:
    25/Jun/14 12:02 AM