Skip to main content

Bug Tracker

Side navigation

#1679 closed bug (fixed)

Opened September 19, 2007 02:27PM UTC

Closed October 17, 2007 05:00PM UTC

Sortable - this.parentNode has no properties on core.js

Reported by: ipalaus Owned by: paul
Priority: critical Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: core.js parentNode Opera Cc: ipalaus@ipalaus.es,daijo@daijo.org
Blocked by: Blocking:
Description

I had troubles while using Opera and ui.sortables.js recently. I had a list using <li> with a simple Sortable() and it worked fine on the two major browsers (Firefox, IE 6/7). Testing against Opera 9.23 it didn't work. Opera 9.5 alpha release "Kestrel" works fine. When I check on Firefox another time using Firebug i found that when you start moving some Sortable element the console is continuously adding errors and never stops with "this.parentNode has no properties" (line 1098 on core.js).

jQuery version: 1.2.1 and current version (svn)

UI version: 1.0 and current version (svn)

Failed failed with both stable and SVN, jQuery and UI

You can check this on http://dev.jquery.com/view/trunk/plugins/ui/demos/ui.sortable.html

Attachments (1)
Change History (7)

Changed September 19, 2007 02:41PM UTC by rworth comment:1

component: coreui

Changed September 19, 2007 04:51PM UTC by rworth comment:2

summary: this.parentNode has no properties on core.jsSortable - this.parentNode has no properties on core.js

Changed September 19, 2007 05:17PM UTC by krunkosaurus comment:3

I find something similar happens without the use of additional parameters.

I use Mac Firefox and am also experiencing the above - only able to move a list item once and then JS erros. I see the following infinite error in my Firebug console:

self.pos has no properties [Break on this error] position: { left: self.pos[0], top: self.pos[1] }, ui.sortable.js (line 91)

this.parentNode has no properties [Break on this error] this.parentNode.removeChild( this ); jquery.js (line 1075)

this.parentNode has no properties [Break on this error] null jquery.js (line 1075)

I get similar errors when using this sort method with my own list items and downloaded ui components. I am running the most recent version of jQ and ui components.

Changed September 23, 2007 01:51PM UTC by paul comment:4

owner: → john

Changed October 10, 2007 09:43AM UTC by swent comment:5

I found a way to fix those errors (see ui.sortable.patch). I'm not sure, whether this fixes the root cause or just the symptom.

Hope this helps

--Swen

Changed October 17, 2007 05:00PM UTC by john comment:6

owner: johnpaul

Changed October 17, 2007 05:00PM UTC by paul comment:7

resolution: → fixed
status: newclosed

Thanks, fixed!