From fd8f7223a1597eee5331610afc38f7994f78698b Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Fri, 13 Oct 2023 09:48:49 +0200 Subject: [PATCH] TASK: Completely prune "Load Tree" action --- Classes/Controller/BackendServiceController.php | 5 ----- Configuration/Routes.Service.yaml | 8 -------- Resources/Private/Fusion/Backend/Root.fusion | 3 --- packages/neos-ui-backend-connector/src/Endpoints/index.ts | 1 - 4 files changed, 17 deletions(-) diff --git a/Classes/Controller/BackendServiceController.php b/Classes/Controller/BackendServiceController.php index 206e8e8923..fccf423f8f 100644 --- a/Classes/Controller/BackendServiceController.php +++ b/Classes/Controller/BackendServiceController.php @@ -478,11 +478,6 @@ public function getWorkspaceInfoAction(): void $this->view->assign('value', $personalWorkspaceInfo); } - public function initializeLoadTreeAction(): void - { - $this->arguments['nodeTreeArguments']->getPropertyMappingConfiguration()->allowAllProperties(); - } - /** * @throws \Neos\Flow\Mvc\Exception\NoSuchArgumentException */ diff --git a/Configuration/Routes.Service.yaml b/Configuration/Routes.Service.yaml index e69d3f0ef9..a4ad58b2e8 100644 --- a/Configuration/Routes.Service.yaml +++ b/Configuration/Routes.Service.yaml @@ -54,14 +54,6 @@ '@action': 'clearClipboard' httpMethods: ['POST'] -- - name: 'Load Tree' - uriPattern: 'load-tree' - defaults: - '@controller': 'BackendService' - '@action': 'loadTree' - httpMethods: ['POST'] - - name: 'FlowQuery' uriPattern: 'flow-query' diff --git a/Resources/Private/Fusion/Backend/Root.fusion b/Resources/Private/Fusion/Backend/Root.fusion index 9018674065..af6e00a74b 100644 --- a/Resources/Private/Fusion/Backend/Root.fusion +++ b/Resources/Private/Fusion/Backend/Root.fusion @@ -125,9 +125,6 @@ backend = Neos.Fusion:Template { clearClipboard = Neos.Fusion:UriBuilder { action = 'clearClipboard' } - loadTree = Neos.Fusion:UriBuilder { - action = 'loadTree' - } flowQuery = Neos.Fusion:UriBuilder { action = 'flowQuery' } diff --git a/packages/neos-ui-backend-connector/src/Endpoints/index.ts b/packages/neos-ui-backend-connector/src/Endpoints/index.ts index 042bb7d60c..56f9075e0c 100644 --- a/packages/neos-ui-backend-connector/src/Endpoints/index.ts +++ b/packages/neos-ui-backend-connector/src/Endpoints/index.ts @@ -15,7 +15,6 @@ export interface Routes { copyNodes: string; cutNodes: string; clearClipboard: string; - loadTree: string; flowQuery: string; generateUriPathSegment: string; getWorkspaceInfo: string;