Bug Tracker

Modify

Ticket #10393 (closed bug: invalid)

Opened 20 months ago

Last modified 19 months ago

Error in method jQuery.buildFragment

Reported by: anton.tregubenko@… Owned by: anton.tregubenko@…
Priority: high Milestone: 1.next
Component: manipulation Version: 1.7b1
Keywords: Cc:
Blocking: Blocked by:

Description

if ( jQuery.support.parentNode && parent && parent.nodeType === 11 && parent.childNodes.length === this.length ) {
	results = { fragment: parent };
} else {
	results = jQuery.buildFragment( args, this, scripts );
}

jQuery.support.parentNode is undefined.

$('<div>test</div>').appendTo(document.body);

This code calls method buildFragment twice

Change History

comment:1 Changed 20 months ago by rwaldron

  • Status changed from new to assigned
  • Component changed from unfiled to manipulation
  • Priority changed from undecided to high
  • Version changed from 1.6.4 to 1.7b1
  • Milestone changed from None to 1.next
  • Owner set to rwaldron

comment:2 Changed 20 months ago by rwaldron

  • Owner changed from rwaldron to anton.tregubenko@…
  • Status changed from assigned to pending

Is this occurring in a specific browser?

 http://jsfiddle.net/rwaldron/aYUfh/

comment:3 Changed 20 months ago by anonymous

 http://jsfiddle.net/aYUfh/1/ I've checked it in Google Chrome and MSIE 8. And i can't find any assign of property jQuery.support.parentNode in jQuery lib.

comment:4 Changed 20 months ago by Anton Tregubenko <anton.tregubenko@…>

The above example illustrates the described error. The method buildFragment is called twice instead of one.

comment:5 Changed 19 months ago by trac-o-bot

  • Status changed from pending to closed
  • Resolution set to invalid

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.