Ticket #2532244 (assigned defect)

Reporter


Luke Smith
Opened: 05/2/12
Last modified: 03/25/13
Status: assigned
Type: defect

Owner


Anthony Pipkin
Target Release: BACKLOG
Priority: P3 (normal)
Summary: this.after('*:change', ...) subscribers from datatable-sort throws error
Description:

datatable-sort and datatable-scroll are subscribing to bubbled change events from the DataTable instance, relying on custom event bubbling from the Model -> ModelList -> DataTable instance. When the
DT has input nodes inside, they fire DOM 'change' events, which are passed on by Widget UI events and caught by the wildcard subscriber. In datatable-sort's case, the subscriber is assuming e.changes
exists, which isn't true.

The DT shouldn't be a target of the ML or Views. Instead, it should subscribe to their events directly.

Type: defect Observed in Version: 3.5.0
Component: DataTable Severity: S3 (normal)
Assigned To: Anthony Pipkin Target Release: BACKLOG
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

Change History

Luke Smith

YUI Contributor

Posted: 05/2/12

If the individual records aren't going to change, then a workaround is

table.detach('*:change');

Jenny Donnelly

YUI Developer

Posted: 07/24/12
  • milestone changed from 3.6.0 to 3.NEXT

Moving from 3.6.0 backlog to 3.NEXT.

Jenny Donnelly

YUI Developer

Posted: 09/19/12
  • milestone changed from 3.NEXT to BACKLOG

Moving from 3.NEXT to BACKLOG.

Anthony Pipkin

YUI Developer

Posted: 03/25/13