Bug #28687
closedpagetree broken due to js exception
100%
Description
Sometimes (e.g. after su-ing to another user and switching back), the page tree is broken due to a js-exception:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLUListElement.appendChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://www.frm2.tum.de/typo3temp/compressor/ext-all-ececa1b85d544f6454cfb61bfc29c0a9.js.gzip :: <TOP_LEVEL> :: line 7" data: no]
Updated by Björn Pedersen over 13 years ago
The problem can be solved by clearing the user temporary data and reloading the BE.
Updated by Steffen Kamper over 13 years ago
one hint: this error message doesn't say anything. For a clear message and debug use BE in debug mode, where ext-all-debug is loaded.
Updated by Thorsten Kahler over 13 years ago
- Status changed from New to Needs Feedback
- Assignee set to Björn Pedersen
Björn Pedersen wrote:
The problem can be solved by clearing the user temporary data and reloading the BE.
What do you mean with "user temporary data"?
Do you suggest to clear this data and reload the whole BE after switching back to the origin BE user?
Updated by Björn Pedersen over 13 years ago
Yes, I mean clearing the temporaray data via the user settings. But that is of course just a ugly workaround.
Updated by Björn Pedersen over 13 years ago
exception with debug mode:
uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLUListElement.appendChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://www.frm2.tum.de/typo3/contrib/extjs/ext-all-debug.js :: <TOP_LEVEL> :: line 36180" data: no]
Updated by Björn Pedersen over 13 years ago
More testing results:
The error occurs only, if in the first interface the page tree was expanded before su-ing to another user where the tree had a different expansion.
firebug locates the erre in the else part here:
TYPO3.Components.PageTree.PageTreeNodeUI = Ext.extend(Ext.tree.TreeNodeUI, { /** * Adds the sprite icon and adds an event to open the context menu on a single click at the icon node * * @param {Ext.tree.TreeNode} n * @param {Object} a * @param {Ext.tree.TreeNode} targetNode * @param {Boolean} bulkRender * @return {void} */ renderElements : function(n, a, targetNode, bulkRender) { // add some indent caching, this helps performance when rendering a large tree this.indentMarkup = n.parentNode ? n.parentNode.ui.getChildIndent() : ''; var cb = Ext.isBoolean(a.checked), nel, href = this.getHref(a.href), buf = ['<li class="x-tree-node"><div ext:tree-node-id="',n.id,'" class="x-tree-node-el x-tree-node-leaf x-unselectable ', a.cls,'" unselectable="on">', '<span class="x-tree-node-indent">',this.indentMarkup,"</span>", '<img alt="" src="', this.emptyIcon, '" class="x-tree-ec-icon x-tree-elbow" />', // '<img alt="" src="', a.icon || this.emptyIcon, '" class="x-tree-node-icon',(a.icon ? " x-tree-node-inline-icon" : ""),(a.iconCls ? " "+a.iconCls : ""),'" unselectable="on" />', a.spriteIconCode, // TYPO3: add sprite icon code cb ? ('<input class="x-tree-node-cb" type="checkbox" ' + (a.checked ? 'checked="checked" />' : '/>')) : '', '<a hidefocus="on" class="x-tree-node-anchor" href="',href,'" tabIndex="1" ', a.hrefTarget ? ' target="'+a.hrefTarget+'"' : "", '><span unselectable="on">',n.text,"</span></a></div>", '<ul class="x-tree-node-ct" style="display:none;"></ul>', "</li>"].join(''); if(bulkRender !== true && n.nextSibling && (nel = n.nextSibling.ui.getEl())){ this.wrap = Ext.DomHelper.insertHtml("beforeBegin", nel, buf); }else{ this.wrap = Ext.DomHelper.insertHtml("beforeEnd", targetNode, buf); } // TYPO3 modification to show the readable rootline above the user mounts
(line 68 of nodeui.js )
Updated by Steffen Kamper over 13 years ago
it's even more worse on my site: BE doesn't render after switch because of prototype error.
Error is raised in workspace module with this line:
Event.observe('goToWsModule', 'click', this.goToWorkspaceModule.bind(this));
Updated by Steffen Kamper over 13 years ago
after deinstalling workspaces i coudn't raise this error.
So i think it's because of too big status information in BE User, so the states are broken.
Try to clean the user settings and try again to raise this error.
Updated by Björn Pedersen over 13 years ago
state provider response after switching to a second workspace and back.
[{"tid":20,"action":"ExtDirect","method":"setState","type":"rpc","result":{"success":true,"params":{"scope":{"events":{"savefailure":true,"savesuccess":true,"readfailure":true,"readsuccess":true,"statechange":true},"state":{"typo3-debug-console":{"collapsed":true},"Pagetree":{"stateHash":{"oot":1,"47-47":1,"31-31":1,"1d4-1d4":1,"27-27":1,"7a-27":1,"265-27":1,"296-27":1,"297-27":1,"26c-27":1,"736-27":1,"4e6-27":1,"463-27":1}}},"delay":750,"dirty":false,"started":true,"autoStart":true,"autoRead":false,"key":"BackendComponents.States","logFailure":false,"logSuccess":false,"queue":[{"name":"Pagetree","value":{"stateHash":{"oot":1,"47-47":1,"31-31":1,"1d4-1d4":1,"27-27":1,"7a-27":1,"265-27":1,"296-27":1,"297-27":1,"26c-27":1,"736-27":1,"4e6-27":1,"463-27":1}}}],"saveBaseParams":{},"readBaseParams":{},"paramNames":{"key":"key","name":"name","value":"value","data":"data"},"dt":{}},"queue":[{"name":"Pagetree","value":{"stateHash":{"oot":1,"47-47":1,"31-31":1,"1d4-1d4":1,"27-27":1,"7a-27":1,"265-27":1,"296-27":1,"297-27":1,"26c-27":1,"736-27":1,"4e6-27":1,"463-27":1}}}],"params":{"key":"BackendComponents.States","data":"[{\"name\":\"Pagetree\",\"value\":{\"stateHash\":{\"oot\":1,\"47-47\":1,\"31-31\":1,\"1d4-1d4\":1,\"27-27\":1,\"7a-27\":1,\"265-27\":1,\"296-27\":1,\"297-27\":1,\"26c-27\":1,\"736-27\":1,\"4e6-27\":1,\"463-27\":1}}}]"}}},"debug":""}]
It seems, each time a new page tree entry is added. Could that cause the failure?
Updated by Steffen Kamper over 13 years ago
there is an analysis about this and it "must" be changed, as pagetree do too much requests and deliver too much information. Joey already has a patch for that.
Updated by Björn Pedersen over 13 years ago
- Assignee deleted (
Björn Pedersen)
As I am no js-specialist, I will wait for Joey's patch.
Updated by Björn Pedersen over 13 years ago
Am I right in the assumption, that the limited size of the uc field in be_users plays a role?
Updated by Björn Pedersen over 13 years ago
Anything new on this one? It is really annoying...
Updated by Björn Pedersen over 13 years ago
Maybe these reports are related to this problem, as firebug also shows a X-JSON header tag.
http://www.dev411.com/blog/2006/06/01/prototype-x-json-fails-on-long-value-in-ie
http://www.sencha.com/forum/showthread.php?14134-Max-size-of-json
Updated by Björn Pedersen over 13 years ago
The problem is still there, http://forge.typo3.org/issues/24884 did not fix it.
Updated by Andreas Wolf about 13 years ago
- Category set to Pagetree
- Status changed from Needs Feedback to Accepted
- Target version set to 4.6.0-beta3
Updated by Björn Pedersen about 13 years ago
The complete JSON I get on pagetree-reload in case of a not-working state: It seems the information doubled a lot due the nodeData elements.
[ { tid: 9 action: "DataProvider" method: "getNextTreeLevel" type: "rpc" result: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "p0" type: "pages_root" editableText: "FRM II (test server)" text: "[0] FRM II (test server)" cls: null prefix: "[0] " suffix: "" qtip: "id=0" expanded: false expandable: false draggable: false isTarget: false spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-root"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: false allowChildren: true leaf: false nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: 0 type: "pages_root" editableText: "FRM II (test server)" text: "[0] FRM II (test server)" cls: null prefix: "[0] " suffix: "" qtip: "id=0" expanded: false expandable: false draggable: false isTarget: false spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-root"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: false allowChildren: true leaf: false readableRootline: "" mountPoint: 0 workspaceId: 0 isMountPoint: true } children: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "pa" type: "pages" editableText: "FRM II" text: "[10] FRM II" cls: null prefix: "[10] " suffix: "" qtip: "id=10" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-domain"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "10" type: "pages" editableText: "FRM II" text: "[10] FRM II" cls: null prefix: "[10] " suffix: "" qtip: "id=10" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-domain"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false readableRootline: "" mountPoint: 0 workspaceId: 10 isMountPoint: false } children: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "p28" type: "pages" editableText: "Die Neutronenquelle" text: "[40] Die Neutronenquelle" cls: null prefix: "[40] " suffix: "" qtip: "id=40<br />Alias: technik" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "40" type: "pages" editableText: "Die Neutronenquelle" text: "[40] Die Neutronenquelle" cls: null prefix: "[40] " suffix: "" qtip: "id=40<br />Alias: technik" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false readableRootline: "" mountPoint: 0 workspaceId: 40 isMountPoint: false } children: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "p433" type: "pages" editableText: "Das Neutron" text: "[1075] Das Neutron" cls: null prefix: "[1075] " suffix: "" qtip: "id=1075" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "1075" type: "pages" editableText: "Das Neutron" text: "[1075] Das Neutron" cls: null prefix: "[1075] " suffix: "" qtip: "id=1075" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false readableRootline: "" mountPoint: 0 workspaceId: 1075 isMountPoint: false } children: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "p434" type: "pages" editableText: "Was ist ein Neutron?" text: "[1076] Was ist ein Neutron?" cls: null prefix: "[1076] " suffix: "" qtip: "id=1076" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "1076" type: "pages" editableText: "Was ist ein Neutron?" text: "[1076] Was ist ein Neutron?" cls: null prefix: "[1076] " suffix: "" qtip: "id=1076" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 1076 isMountPoint: false } children: [ ] realId: "1076" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p436" type: "pages" editableText: "Entdeckung der Neutronen" text: "[1078] Entdeckung der Neutronen" cls: null prefix: "[1078] " suffix: "" qtip: "id=1078" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "1078" type: "pages" editableText: "Entdeckung der Neutronen" text: "[1078] Entdeckung der Neutronen" cls: null prefix: "[1078] " suffix: "" qtip: "id=1078" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 1078 isMountPoint: false } children: [ ] realId: "1078" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p437" type: "pages" editableText: "Neutronenquellen" text: "[1079] Neutronenquellen" cls: null prefix: "[1079] " suffix: "" qtip: "id=1079" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "1079" type: "pages" editableText: "Neutronenquellen" text: "[1079] Neutronenquellen" cls: null prefix: "[1079] " suffix: "" qtip: "id=1079" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 1079 isMountPoint: false } children: [ ] realId: "1079" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p438" type: "pages" editableText: "Warum Neutronen?" text: "[1080] Warum Neutronen?" cls: null prefix: "[1080] " suffix: "" qtip: "id=1080" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "1080" type: "pages" editableText: "Warum Neutronen?" text: "[1080] Warum Neutronen?" cls: null prefix: "[1080] " suffix: "" qtip: "id=1080" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 1080 isMountPoint: false } children: [ ] realId: "1080" readableRootline: "" } ] realId: "1075" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p267" type: "pages" editableText: "FRM II Technik" text: "[615] FRM II Technik" cls: null prefix: "[615] " suffix: "" qtip: "id=615" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-spacer"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "615" type: "pages" editableText: "FRM II Technik" text: "[615] FRM II Technik" cls: null prefix: "[615] " suffix: "" qtip: "id=615" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-spacer"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 615 isMountPoint: false } children: [ ] realId: "615" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "pda" type: "pages" editableText: "Kurzbeschreibung" text: "[218] Kurzbeschreibung" cls: null prefix: "[218] " suffix: "" qtip: "id=218" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "218" type: "pages" editableText: "Kurzbeschreibung" text: "[218] Kurzbeschreibung" cls: null prefix: "[218] " suffix: "" qtip: "id=218" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false readableRootline: "" mountPoint: 0 workspaceId: 218 isMountPoint: false } children: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "pdb" type: "pages" editableText: "Charakteristische Daten" text: "[219] Charakteristische Daten" cls: null prefix: "[219] " suffix: "" qtip: "id=219" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "219" type: "pages" editableText: "Charakteristische Daten" text: "[219] Charakteristische Daten" cls: null prefix: "[219] " suffix: "" qtip: "id=219" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 219 isMountPoint: false } children: [ ] realId: "219" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "pdc" type: "pages" editableText: "Verbaute Massen Gesamt FRM II-Gelände" text: "[220] Verbaute Massen Gesamt FRM II-Gelände" cls: null prefix: "[220] " suffix: "" qtip: "id=220" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "220" type: "pages" editableText: "Verbaute Massen Gesamt FRM II-Gelände" text: "[220] Verbaute Massen Gesamt FRM II-Gelände" cls: null prefix: "[220] " suffix: "" qtip: "id=220" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 220 isMountPoint: false } children: [ ] realId: "220" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "pdd" type: "pages" editableText: "Experimentiereinrichtungen" text: "[221] Experimentiereinrichtungen" cls: null prefix: "[221] " suffix: "" qtip: "id=221" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "221" type: "pages" editableText: "Experimentiereinrichtungen" text: "[221] Experimentiereinrichtungen" cls: null prefix: "[221] " suffix: "" qtip: "id=221" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 221 isMountPoint: false } children: [ ] realId: "221" readableRootline: "" } ] realId: "218" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "pde" type: "pages" editableText: "Gebäude" text: "[222] Gebäude" cls: null prefix: "[222] " suffix: "" qtip: "id=222" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "222" type: "pages" editableText: "Gebäude" text: "[222] Gebäude" cls: null prefix: "[222] " suffix: "" qtip: "id=222" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false readableRootline: "" mountPoint: 0 workspaceId: 222 isMountPoint: false } children: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "pdf" type: "pages" editableText: "Experimentierhalle" text: "[223] Experimentierhalle" cls: null prefix: "[223] " suffix: "" qtip: "id=223" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "223" type: "pages" editableText: "Experimentierhalle" text: "[223] Experimentierhalle" cls: null prefix: "[223] " suffix: "" qtip: "id=223" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 223 isMountPoint: false } children: [ ] realId: "223" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "pe0" type: "pages" editableText: "Neutronenleiterhalle" text: "[224] Neutronenleiterhalle" cls: null prefix: "[224] " suffix: "" qtip: "id=224" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "224" type: "pages" editableText: "Neutronenleiterhalle" text: "[224] Neutronenleiterhalle" cls: null prefix: "[224] " suffix: "" qtip: "id=224" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 224 isMountPoint: false } children: [ ] realId: "224" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p10a" type: "pages" editableText: "Lage" text: "[266] Lage" cls: null prefix: "[266] " suffix: "" qtip: "id=266" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "266" type: "pages" editableText: "Lage" text: "[266] Lage" cls: null prefix: "[266] " suffix: "" qtip: "id=266" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 266 isMountPoint: false } children: [ ] realId: "266" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p10b" type: "pages" editableText: "Bilder" text: "[267] Bilder" cls: null prefix: "[267] " suffix: "" qtip: "id=267" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "267" type: "pages" editableText: "Bilder" text: "[267] Bilder" cls: null prefix: "[267] " suffix: "" qtip: "id=267" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 267 isMountPoint: false } children: [ ] realId: "267" readableRootline: "" } ] realId: "222" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p10c" type: "pages" editableText: "Reaktor" text: "[268] Reaktor" cls: null prefix: "[268] " suffix: "" qtip: "id=268" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "268" type: "pages" editableText: "Reaktor" text: "[268] Reaktor" cls: null prefix: "[268] " suffix: "" qtip: "id=268" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false readableRootline: "" mountPoint: 0 workspaceId: 268 isMountPoint: false } children: [ {
Updated by Björn Pedersen about 13 years ago
And here a working response
[ { tid: 4 action: "DataProvider" method: "getNodeTypes" type: "rpc" result: [ { nodeType: "1" cls: "typo3-pagetree-topPanel-button" iconCls: "t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default" title: "Standard" tooltip: "Standard" } { nodeType: "6" cls: "typo3-pagetree-topPanel-button" iconCls: "t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-backend-users" title: "Backend User Section" tooltip: "Backend User Section" } { nodeType: "4" cls: "typo3-pagetree-topPanel-button" iconCls: "t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-shortcut" title: "Shortcut" tooltip: "Shortcut" } { nodeType: "7" cls: "typo3-pagetree-topPanel-button" iconCls: "t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-mountpoint" title: "Mount Point" tooltip: "Mount Point" } { nodeType: "3" cls: "typo3-pagetree-topPanel-button" iconCls: "t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-shortcut-external" title: "Link to External URL" tooltip: "Link to External URL" } { nodeType: "254" cls: "typo3-pagetree-topPanel-button" iconCls: "t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-folder-default" title: "Folder" tooltip: "Folder" } { nodeType: "255" cls: "typo3-pagetree-topPanel-button" iconCls: "t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-recycler" title: "Recycler" tooltip: "Recycler" } { nodeType: "199" cls: "typo3-pagetree-topPanel-button" iconCls: "t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-spacer" title: "Menu Separator" tooltip: "Menu Separator" } ] debug: "" } { tid: 5 action: "DataProvider" method: "getNextTreeLevel" type: "rpc" result: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "p0" type: "pages_root" editableText: "FRM II (test server)" text: "[0] FRM II (test server)" cls: null prefix: "[0] " suffix: "" qtip: "id=0" expanded: false expandable: false draggable: false isTarget: false spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-root"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: false allowChildren: true leaf: false nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: 0 type: "pages_root" editableText: "FRM II (test server)" text: "[0] FRM II (test server)" cls: null prefix: "[0] " suffix: "" qtip: "id=0" expanded: false expandable: false draggable: false isTarget: false spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-root"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: false allowChildren: true leaf: false readableRootline: "" mountPoint: 0 workspaceId: 0 isMountPoint: true } children: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "pa" type: "pages" editableText: "FRM II" text: "[10] FRM II" cls: null prefix: "[10] " suffix: "" qtip: "id=10" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-domain"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "10" type: "pages" editableText: "FRM II" text: "[10] FRM II" cls: null prefix: "[10] " suffix: "" qtip: "id=10" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-domain"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false readableRootline: "" mountPoint: 0 workspaceId: 10 isMountPoint: false } children: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "p28" type: "pages" editableText: "Die Neutronenquelle" text: "[40] Die Neutronenquelle" cls: null prefix: "[40] " suffix: "" qtip: "id=40<br />Alias: technik" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "40" type: "pages" editableText: "Die Neutronenquelle" text: "[40] Die Neutronenquelle" cls: null prefix: "[40] " suffix: "" qtip: "id=40<br />Alias: technik" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false readableRootline: "" mountPoint: 0 workspaceId: 40 isMountPoint: false } children: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "p433" type: "pages" editableText: "Das Neutron" text: "[1075] Das Neutron" cls: null prefix: "[1075] " suffix: "" qtip: "id=1075" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "1075" type: "pages" editableText: "Das Neutron" text: "[1075] Das Neutron" cls: null prefix: "[1075] " suffix: "" qtip: "id=1075" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false readableRootline: "" mountPoint: 0 workspaceId: 1075 isMountPoint: false } children: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "p434" type: "pages" editableText: "Was ist ein Neutron?" text: "[1076] Was ist ein Neutron?" cls: null prefix: "[1076] " suffix: "" qtip: "id=1076" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "1076" type: "pages" editableText: "Was ist ein Neutron?" text: "[1076] Was ist ein Neutron?" cls: null prefix: "[1076] " suffix: "" qtip: "id=1076" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 1076 isMountPoint: false } children: [ ] realId: "1076" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p436" type: "pages" editableText: "Entdeckung der Neutronen" text: "[1078] Entdeckung der Neutronen" cls: null prefix: "[1078] " suffix: "" qtip: "id=1078" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "1078" type: "pages" editableText: "Entdeckung der Neutronen" text: "[1078] Entdeckung der Neutronen" cls: null prefix: "[1078] " suffix: "" qtip: "id=1078" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 1078 isMountPoint: false } children: [ ] realId: "1078" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p437" type: "pages" editableText: "Neutronenquellen" text: "[1079] Neutronenquellen" cls: null prefix: "[1079] " suffix: "" qtip: "id=1079" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "1079" type: "pages" editableText: "Neutronenquellen" text: "[1079] Neutronenquellen" cls: null prefix: "[1079] " suffix: "" qtip: "id=1079" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 1079 isMountPoint: false } children: [ ] realId: "1079" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p438" type: "pages" editableText: "Warum Neutronen?" text: "[1080] Warum Neutronen?" cls: null prefix: "[1080] " suffix: "" qtip: "id=1080" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "1080" type: "pages" editableText: "Warum Neutronen?" text: "[1080] Warum Neutronen?" cls: null prefix: "[1080] " suffix: "" qtip: "id=1080" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 1080 isMountPoint: false } children: [ ] realId: "1080" readableRootline: "" } ] realId: "1075" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p267" type: "pages" editableText: "FRM II Technik" text: "[615] FRM II Technik" cls: null prefix: "[615] " suffix: "" qtip: "id=615" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-spacer"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "615" type: "pages" editableText: "FRM II Technik" text: "[615] FRM II Technik" cls: null prefix: "[615] " suffix: "" qtip: "id=615" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-spacer"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 615 isMountPoint: false } children: [ ] realId: "615" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "pda" type: "pages" editableText: "Kurzbeschreibung" text: "[218] Kurzbeschreibung" cls: null prefix: "[218] " suffix: "" qtip: "id=218" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "218" type: "pages" editableText: "Kurzbeschreibung" text: "[218] Kurzbeschreibung" cls: null prefix: "[218] " suffix: "" qtip: "id=218" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false readableRootline: "" mountPoint: 0 workspaceId: 218 isMountPoint: false } children: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "pdb" type: "pages" editableText: "Charakteristische Daten" text: "[219] Charakteristische Daten" cls: null prefix: "[219] " suffix: "" qtip: "id=219" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "219" type: "pages" editableText: "Charakteristische Daten" text: "[219] Charakteristische Daten" cls: null prefix: "[219] " suffix: "" qtip: "id=219" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 219 isMountPoint: false } children: [ ] realId: "219" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "pdc" type: "pages" editableText: "Verbaute Massen Gesamt FRM II-Gelände" text: "[220] Verbaute Massen Gesamt FRM II-Gelände" cls: null prefix: "[220] " suffix: "" qtip: "id=220" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "220" type: "pages" editableText: "Verbaute Massen Gesamt FRM II-Gelände" text: "[220] Verbaute Massen Gesamt FRM II-Gelände" cls: null prefix: "[220] " suffix: "" qtip: "id=220" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 220 isMountPoint: false } children: [ ] realId: "220" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "pdd" type: "pages" editableText: "Experimentiereinrichtungen" text: "[221] Experimentiereinrichtungen" cls: null prefix: "[221] " suffix: "" qtip: "id=221" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "221" type: "pages" editableText: "Experimentiereinrichtungen" text: "[221] Experimentiereinrichtungen" cls: null prefix: "[221] " suffix: "" qtip: "id=221" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 221 isMountPoint: false } children: [ ] realId: "221" readableRootline: "" } ] realId: "218" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "pde" type: "pages" editableText: "Gebäude" text: "[222] Gebäude" cls: null prefix: "[222] " suffix: "" qtip: "id=222" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "222" type: "pages" editableText: "Gebäude" text: "[222] Gebäude" cls: null prefix: "[222] " suffix: "" qtip: "id=222" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true leaf: false readableRootline: "" mountPoint: 0 workspaceId: 222 isMountPoint: false } children: [ { serializeClassName: "t3lib_tree_pagetree_Node" id: "pdf" type: "pages" editableText: "Experimentierhalle" text: "[223] Experimentierhalle" cls: null prefix: "[223] " suffix: "" qtip: "id=223" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "223" type: "pages" editableText: "Experimentierhalle" text: "[223] Experimentierhalle" cls: null prefix: "[223] " suffix: "" qtip: "id=223" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 223 isMountPoint: false } children: [ ] realId: "223" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "pe0" type: "pages" editableText: "Neutronenleiterhalle" text: "[224] Neutronenleiterhalle" cls: null prefix: "[224] " suffix: "" qtip: "id=224" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "224" type: "pages" editableText: "Neutronenleiterhalle" text: "[224] Neutronenleiterhalle" cls: null prefix: "[224] " suffix: "" qtip: "id=224" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 224 isMountPoint: false } children: [ ] realId: "224" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p10a" type: "pages" editableText: "Lage" text: "[266] Lage" cls: null prefix: "[266] " suffix: "" qtip: "id=266" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "266" type: "pages" editableText: "Lage" text: "[266] Lage" cls: null prefix: "[266] " suffix: "" qtip: "id=266" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 266 isMountPoint: false } children: [ ] realId: "266" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p10b" type: "pages" editableText: "Bilder" text: "[267] Bilder" cls: null prefix: "[267] " suffix: "" qtip: "id=267" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true nodeData: { serializeClassName: "t3lib_tree_pagetree_Node" id: "267" type: "pages" editableText: "Bilder" text: "[267] Bilder" cls: null prefix: "[267] " suffix: "" qtip: "id=267" expanded: true expandable: false draggable: true isTarget: true spriteIconCode: "<span class="t3-icon t3-icon-apps t3-icon-apps-pagetree t3-icon-pagetree-page-default"> </span>" t3TextSourceField: "title" t3InCopyMode: false t3InCutMode: false t3ContextInfo: [ ] editable: true allowChildren: true readableRootline: "" mountPoint: 0 workspaceId: 267 isMountPoint: false } children: [ ] realId: "267" readableRootline: "" } ] realId: "222" readableRootline: "" } { serializeClassName: "t3lib_tree_pagetree_Node" id: "p10c" type: "pages" editableText: "Reaktor" text: "[268] Reaktor" cls: null prefix: "[268] " suffix: "" qtip: "id=268" expanded: false expandable: false draggable: true isTarget: true spriteIconCode: "<s
Updated by Stefan Galinski about 13 years ago
Hi Björn,
The nodeData section contains the information that is needed to restore the node on the server side without the need of a lot's of database queries. IMHO a much better approach would be to cache the serialized data on the server side and just transfer an hash id. This would improve the performance a lot, but the caching strategy must fit to prevent possible problems with out-of-date data. This is on my personal pagetree todo list, but don't expect anything from me before the development of 4.7 starts.
Updated by Björn Pedersen about 13 years ago
Update on the current state (trunk: 69d545448f8d0b9e6609585e61b7e876a8852d70 as of today):
The tree now mostly stays expandable.
But on clicking the reload tree button I get a 'd is undefined' JS-error. Probably related to http://www.sencha.com/forum/showthread.php?99094-Problem-with-application-load-%28d-is-undefined-error%29
Updated by Oliver Hader about 13 years ago
- Target version changed from 4.6.0-beta3 to 4.6.0-RC1
Updated by Steffen Gebert about 13 years ago
- Status changed from Accepted to Needs Feedback
Björn, is this still an issue?
Updated by Björn Pedersen about 13 years ago
Yes, the problem is still there
[pre]
uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLUListElement.appendChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://wwwtest.admin.frm2/typo3temp/compressor/ext-all-d46fb5307f48e7957abfd0fce73bf176.js.gzip :: <TOP_LEVEL> :: line 7" data: no]
http://xxx.xxx.xxx/typo3temp/compressor/ext-all-d46fb5307f48e7957abfd0fce73bf176.js.gzip
Line 7
[/pre]
Updated by Björn Pedersen about 13 years ago
A debugging shows that the error happens here:
view.getComputedStyle(div.firstChild.firstChild, null) is null
Line 5499
div.innerHTML = '<div style="height:30px;width:50px;"><div style="height:20px;width:20px;"></div></div><div style="float:left;background-color:transparent;">'; doc.body.appendChild(div); last = div.lastChild; if((view = doc.defaultView)){ if(view.getComputedStyle(div.firstChild.firstChild, null).marginRight != '0px'){ <--- 5499 supports.correctRightMargin = false; } if(view.getComputedStyle(last, null).backgroundColor != 'transparent'){ supports.correctTransparentColor = false;
Updated by Xavier Perseguers about 13 years ago
- Target version changed from 4.6.0-RC1 to 4.6.0
Updated by Björn Pedersen about 13 years ago
Duplicated by http://forge.typo3.org/issues/30395
Updated by Francois Suter about 13 years ago
- assign several mount points to a user or a group
- make it a mix of mounts to pages that have children and some that don't
- simulate that user and observe that the page tree break at the first mount that doesn't have child pages
This would fit an error happening when trying to access "div.firstChild.firstChild".
Updated by Francois Suter about 13 years ago
Looking a bit further, the problem is that the line mentioned by Björn is deep into ExtJS core. So either it's really an ExtJS bug or the TYPO3 page tree is passing the wrong information to ExtJS (for example, it may hint that it has children when it hasn't). I'll try to look closer at the JSON structure. More later.
Updated by Xavier Perseguers about 13 years ago
- Status changed from Needs Feedback to Accepted
Updated by Francois Suter about 13 years ago
As I mentioned in related issue #30395 I don't get exactly the same JS error as described here. When running ExtJS in debug mode, the error points to line 36180 of ext-all-debug.js, which corresponds to the following line:
targetNode.appendChild(this.wrap);
of method "render" of object Ext.tree.TreeNodeUI.
Just for testing I added a check:
if (targetNode != null)
in front of the above code, but it doesn't help as it causes the script to break elsewhere, because it still has to cope with a missing node at some point.
So I would tend to go with the hypothesis that the JSON tree structure has some defect, but I found nothing striking when looking at it.
An interesting effect is that adding a sub-page to the node causing problem actually works around the issue and lets the whole tree be displayed. However that same node cannot be expanded, although the following can. This is really so weird.
Updated by Björn Pedersen about 13 years ago
I can confirm that not having single page moutn points makes the tree working.
Updated by Mr. Hudson about 13 years ago
- Status changed from Accepted to Under Review
Patch set 1 of change Ic9ac5792272b3bc6b2907149a93cd7c22649c317 has been pushed to the review server.
It is available at http://review.typo3.org/5958
Updated by Björn Pedersen about 13 years ago
Works perfectly. Thanks for taking care.
Updated by Mr. Hudson about 13 years ago
Patch set 2 of change Ic9ac5792272b3bc6b2907149a93cd7c22649c317 has been pushed to the review server.
It is available at http://review.typo3.org/5958
Updated by Xavier Perseguers about 13 years ago
- Status changed from Under Review to Resolved
- Assignee set to Steffen Ritter
- % Done changed from 10 to 100
Updated by Florian Busch (floxx) over 12 years ago
Will this be fixed in 4.5 too? Patch seems to be applied only to 4.6.
Updated by Stefan Galinski over 12 years ago
This fix was already merged in the 4.5 branch.
Updated by Stefan Galinski over 12 years ago
- Target version changed from 4.6.0 to 4.5.16
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed