#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: |
Description
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)
Change History (3)
Changed 12 years ago by
comment:1 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Component: | Dojox → DojoX Layout |
---|
this is my fault. I didn't have a dojo.require() for Toolbar, though contentpane trapping that error is really annoying. my apologies.