Opened 11 years ago

Closed 6 years ago

#8424 closed defect (wontfix)

_Templated: bug with <ol>, <li> and <fieldset> (IE7)

Reported by: DLSalahi Owned by:
Priority: low Milestone: 2.0
Component: Dijit Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:

Description

In IE7, I get an invalid pointer error if my form contains <ol>, <li>, or <fieldset> tags. See: http://artistic-webdesign.com/test/forms/form-dijit-bug.php

If I remove these tags, the error goes away: http://artistic-webdesign.com/test/forms/form-dijit-OK.php

David Salahi

Attachments (1)

wiki.jpg (647 bytes) - added by DeanKolt 6 years ago.
One of the key elements here is located in the source code is the fact that cc and bcc are located within http://www.acheapcarinsurance.net as a part of it's header http://www.bohemjewel.com source code.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by bill

Summary: dijit bug with <ol>, <li> and <fieldset>_Templated: bug with <ol>, <li> and <fieldset> (IE)

Hmm, that's a weird one. The problem happens in _Templated:

_fillContent: function(/*DomNode*/ source){
	// summary:
	//		relocate source contents to templated container node
	//		this.containerNode must be able to receive children, or exceptions will be thrown
	var dest = this.containerNode;
	if(source && dest){
		while(source.hasChildNodes()){
			dest.appendChild(source.firstChild);
		}
	}
},

It copies nodes from the source HTML to the template until it hits a <fieldset>, and then for some reason source.firstChild is null (even though the source still contains the <fieldset>.

comment:2 Changed 11 years ago by bill

Milestone: tbd2.0

A workaround is to use a <div> in the original markup instead of a <form>.

Apparently there's something strange about grabbing the children of a <form> node as IE also chokes on a <div> child.

comment:3 Changed 10 years ago by awdelyea

I'm having a big issue with this problem, and I'm wondering if maybe someone could point me in the right direction for how to go about fixing this bug.

I'd like to get it fixed ASAP, and realise that if I want it, then I have to do it.

comment:4 Changed 10 years ago by bill

As I wrote directly above, a workaround is to use a <div> in the original markup instead of a <form>. Is that unclear?

comment:5 Changed 7 years ago by bill

Priority: highlow

comment:6 Changed 6 years ago by bill

Resolution: wontfix
Status: newclosed
Summary: _Templated: bug with <ol>, <li> and <fieldset> (IE)_Templated: bug with <ol>, <li> and <fieldset> (IE7)

Closing since IE6 and IE7 only (IIUC), which we don't really support anymore.

Changed 6 years ago by DeanKolt

Attachment: wiki.jpg added

One of the key elements here is located in the source code is the fact that cc and bcc are located within http://www.acheapcarinsurance.net as a part of it's header http://www.bohemjewel.com source code.

Note: See TracTickets for help on using tickets.