Ticket #2531909 (closed defect)

Reporter


pqr
Opened: 03/19/12
Last modified: 08/1/12
Status: closed
Type: defect
Resolution: fixed

Owner


Dav Glass
Target Release: 3.6.0
Priority: P4 (low)
Summary: Sortable - JS error when drug between two full join lists after manual nodes manipulation
Description:

I create two Sortable lists with full join http://yuilibrary.com/yui/docs/sortable/sortable-multi-full.html

If manually remove or add some nodes into lists it stops work even after sortable.sync()

Please loook on following example: http://jsfiddle.net/pqr7/A23WT/

1. Drag one element from List 2 into List 1
2. Click on "Recreate List 1" - List 1 will be filled with new elements
3. Try to drag one more element from List 2 into List 1 => JavaScript error (in Firefox: "x is null", in IE 9: "Unable to get value of the property 'style': object is null or undefined")

Type: defect Observed in Version: 3.4.1
Component: Sortable Severity: S3 (normal)
Assigned To: Dav Glass Target Release: 3.6.0
Location: Library Code Priority: P4 (low)
Tags: Sortable Relates To:
Browsers: Firefox - Latest,IE 9.x
URL: http://jsfiddle.net/pqr7/A23WT/
Test Information:

Change History

Dav Glass

Posted: 03/19/12
  • location changed to Library Code
  • milestone changed to 3.6.0
  • priority changed to P3 (normal)
  • status changed from new to accepted

Dav Glass

Posted: 05/11/12
  • estimated changed from 0 to 0.25
  • priority changed from P3 (normal) to P4 (low)
  • remaining changed from 0 to 0.25
  • sprint changed to sprint 2

Dav Glass

Posted: 05/15/12
  • completed changed from 0 to 0.25
  • remaining changed from 0.25 to 0

Dav Glass

Posted: 05/15/12
  • resolution changed to fixed
  • status changed from accepted to checkedin

Fixes #2531909 - Checking if a node exists before setting it's style.
View Commit: 6d70eac3da5a574feb3b7c118f16fb15ac67cfa8

Jenny Donnelly

YUI Developer

Posted: 08/1/12
  • status changed from checkedin to closed

Shipped in 3.6.0. Marking closed/fixed.