Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#8382 closed defect (invalid)

[dojox.layout] ContentPane allready called rehash

Reported by: dante Owned by: bill
Priority: high Milestone: tbd
Component: DojoX Layout Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:


I've made up a sample test case illustrating a strange bug (maybe regression) in ContentPane (dojox). With 1.2.3, the "allready called" error can be seen when selecting the second tab (an href="")

With simple markup in the sample.html, everything seems to work. tried a dojoType="dijit.form.Button" by itself no problem, but when attempting to put a BorderContainer in, you see "Sorry, An error has occured".

Testing from trunk: If the BorderContainer is the top-most-node in the remote content, _base/html.js throws "node is null". If "node is null" is thrown, the tab does not change selection anymore.

When content wrapped in vanilla <div>, node is null error goes away, but the "Sorry, and Error has occured" message is shown, and the tab can be selected.

Assigning to bill as per #dojo discussion. This may be related to the _toDom usage in _Templated now, or just a regression in dojox ContentPane. It is terribly difficult to debug errors from remote content it seems.

Attachments (1)

tabs.html (1.8 KB) - added by dante 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by dante

Attachment: tabs.html added

comment:1 Changed 13 years ago by dante

Resolution: invalid
Status: newclosed

this is my fault. I didn't have a dojo.require() for Toolbar, though contentpane trapping that error is really annoying. my apologies.

comment:2 Changed 12 years ago by bill

Component: DojoxDojoX Layout
Note: See TracTickets for help on using tickets.