Q7

ECL does not handle lists in pipes consistently

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.13
  • Fix Version/s: 1.2.14
  • Component/s: ECL
  • Labels:
    None
  • Test Mode:
    Manual

Description

A testcase does the following:

get-item "TestProject/Tournament Pro/Matchup/Game" | get-object | 
    invoke getData | invoke eAdapters | invoke size | eq 2 | 
    assert-true "Adapter count is not 2"

As is it fails on invoke size with an error Parameter object is already assigned. So it seems that list is not written as a single object into a pipe, but instead all objects from list written into a pipe one-by-one.

However, if this would true, we could use commands like length and foreach after invoke eAdapters, but these commands fail with an error:

Do not know how to box value of type 'org.eclipse.emf.common.notify.impl.BasicNotifierImpl$EAdapterList'

Activity

Hide
Andrey Sobolev added a comment - 10/Jan/13 4:25 PM

Fixed.

Show
Andrey Sobolev added a comment - 10/Jan/13 4:25 PM Fixed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    03/Jan/13 10:50 PM
    Updated:
    10/Jan/13 4:25 PM
    Resolved:
    10/Jan/13 4:25 PM