Bug #78476

"Mount as treeroot" triggers various errors

Added by Georg Ringer almost 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Category:
Backend JavaScript
Target version:
Start date:
2016-10-28
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

1] Clicking it in the page tree click menu

actions.js:292 Uncaught TypeError: TYPO3.Backend.NavigationContainer.PageTree.select is not a function(…)

2] Removing the tree mount does not bring the full tree back

3] Clicking it in the breadcrumb

index.php?M=web_layout&moduleToken=cae6d68…&id=3:2 Uncaught TypeError: top.TYPO3.Backend.NavigationContainer.PageTree.getSelected is not a function

bluebutton.png View (22.4 KB) Elmar Hinz, 2017-04-22 22:33

nobutton.png View (14.1 KB) Elmar Hinz, 2017-04-22 22:33


Related issues

Related to TYPO3 Core - Bug #52877: replace extjs panels with pure css and get rid of the overhead Closed 2013-10-16
Related to TYPO3 Core - Bug #83051: Page Tree: Mounting a node not functional Closed 2017-11-20
Duplicated by TYPO3 Core - Bug #81937: Mount as treeroot doesn't work Closed 2017-07-20

History

#1 Updated by Nicole Cordes almost 3 years ago

  • Status changed from New to Needs Feedback

Hi Georg,

I'm not able to reproduce your errors on my Windows system with FF 42 nor with current version of Chrome. Can you give some more information about your system? Thank you!

#2 Updated by Georg Ringer almost 3 years ago

mac with latest chrome but will more information next days

#3 Updated by Gerrit Code Review over 2 years ago

  • Status changed from Needs Feedback to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51477

#4 Updated by Georg Ringer over 2 years ago

WItuout the patch I am getting the error Uncaught TypeError: TYPO3.Backend.NavigationContainer.PageTree.select is not a function

after applying the patch, the error is gone and above the page tree, the click icon is shown as well again.

#5 Updated by Elmar Hinz over 2 years ago

2] Removing the tree mount does not bring the full tree back!

In Addition two screenshots, the first one showing a blue close button.

Klicking the button and the button is gone. Nothing else happens.

4] The automatic reload on form save and the reload button of the page tree don't work any more.

Reproduce:

Changing the page name by the form doesn't show the changed name in the tree.
Clicking the reload button doesn't work either.

Hint

You reset the page tree by logging out and in again.

#6 Updated by Riccardo De Contardi over 2 years ago

This issue is still present on latest master (9.0.0-dev) I obtained the javacript error:

merged-40c151a374028e4de27729ca6071aeec-7f1b7deec237b4ce598fc9e3553baa19.js:2894 Uncaught TypeError: TYPO3.Backend.NavigationContainer.PageTree.select is not a function
    at Object.<anonymous> (merged-40c151a374028e4de27729ca6071aeec-7f1b7deec237b4ce598fc9e3553baa19.js:2894)
    at Object.<anonymous> (ext-all-0653924f48ca3c2cb35eecfd9df69198.js:21)
    at Ext.tree.TreeLoader.runCallback (ext-all-0653924f48ca3c2cb35eecfd9df69198.js:21)
    at Ext.tree.TreeLoader.handleFailure (ext-all-0653924f48ca3c2cb35eecfd9df69198.js:21)
    at Ext.tree.TreeLoader.processResponse (ext-all-0653924f48ca3c2cb35eecfd9df69198.js:21)
    at Ext.tree.TreeLoader.handleResponse (ext-all-0653924f48ca3c2cb35eecfd9df69198.js:21)
    at Ext.tree.TreeLoader.processDirectResponse (ext-all-0653924f48ca3c2cb35eecfd9df69198.js:21)
    at ext-base-38cb993cb42bcaf6486b23d1d689d055.js:21
    at constructor.doCallback (ext-all-0653924f48ca3c2cb35eecfd9df69198.js:21)
    at constructor.onData (ext-all-0653924f48ca3c2cb35eecfd9df69198.js:21)

To reset the tree, it seems it is sufficient to refresh the browser AFAICS.

#7 Updated by Benni Mack over 2 years ago

  • Target version changed from 8 LTS to next-patchlevel

#8 Updated by Georg Ringer about 2 years ago

  • Duplicated by Bug #81937: Mount as treeroot doesn't work added

#9 Updated by Wolfgang Klinger about 2 years ago

  • Assignee set to Wolfgang Klinger

#10 Updated by Wolfgang Klinger about 2 years ago

  • Related to Bug #52877: replace extjs panels with pure css and get rid of the overhead added

#11 Updated by Gerrit Code Review about 2 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51477

#12 Updated by Gerrit Code Review almost 2 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51477

#13 Updated by Gerrit Code Review almost 2 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51477

#14 Updated by Georg Ringer almost 2 years ago

  • Related to Bug #83051: Page Tree: Mounting a node not functional added

#15 Updated by Frank Naegler almost 2 years ago

  • Status changed from Under Review to Resolved

fixed with patch for #83051

#16 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF