YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub

YUI 2.x

Ticket #2528666 (closed defect)

Reporter


einarq
Opened: 03/1/10
Last modified: 03/31/10
Status: closed
Type: defect
Resolution: fixed

Owner


Adam Moore
Target Release: 3.1.0
Priority: P3 (normal)
Summary: compat.js does not work with YUI 2 AutoComplete
Description:

This seems related to the fix for #2528554, seems a new problem has been introduces in augmentObject when only passing 2 parameters.
"wl" ends up being null, hence "wl[0]" fails.

Type: defect Observed in Version: development master
Component: None Severity: S3 (normal)
Assigned To: Adam Moore Target Release: 3.1.0
Location: Priority: P3 (normal)
Tags: compat.js, compatibility, autocomplete Relates To:
Browsers: N/A
URL:
Test Information:

- Unzip the attached zip file
- Open the autocomplete.html file in any browser
- Fails in the augmentObject method

I have attached a local copy of compat.js since I didn't know where to reference the development version.

Attachments

Attachment #1: YUI3-Sandbox.zip (download)

Change History

George

YUI Developer

Posted: 03/1/10
  • owner changed from George to Adam Moore
  • priority changed to P3 (normal)
  • status changed from new to assigned

einarq

Posted: 03/2/10

Actually, the problem is with the augmentation of the DataSource, not the AutoComplete itself. Sorry it that was a bit unclear.

Adam Moore

YUI Developer

Posted: 03/4/10
  • resolution changed to fixed
  • status changed from assigned to checkedin

Fixed augmentObject compat [fixes #2528666].
View Commit:

Adam Moore

YUI Developer

Posted: 03/15/10

Fixed augmentObject compat [fixes #2528666].
View Commit:

George

YUI Developer

Posted: 03/31/10
  • milestone changed to 3.1.0

George

YUI Developer

Posted: 03/31/10
  • status changed from checkedin to closed