We're updating the issue view to help you get more done. 

BucketFilter (and possibly others) are not properly mapped to owner FIlter when nested

Description

Issue

When nesting a Filter in a components block with its child-filters the instanceOwner of the child-filters is not properly set to the Filter instance.

Discussion

This is probably a change that was made to allow nested filter declarations to have their methods found on the parent component (the typical instanceOwner) but made this test (https://github.com/enyojs/enyo/blob/master/source/data/Filter.js#L180) fall over. An easy fix for this issue will cause the inability to lookup methods on the normal instanceOwner (as would probably be expected). One alternative to the given test of 'owner' might be to instead have the owner-filter (for lack of a better term) set the isChildFilter property directly and perhaps pass a circular reference of itself to the child-filter.

Environment

N/A

Status

Assignee

Screener (Enyo Team)

Reporter

Cole Davis (Enyo Team)

External issue ID

None

Tango Test Run Elements

None

Old Issue Key

None

Components

Affects versions

2.5.0

Priority

None