Project

General

Profile

Actions

Bug #76535

closed

Live-Search is bound to the module "Web -> List"

Added by Marcus Schwemer over 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-06-08
Due date:
% Done:

0%

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

Description

While testing and reviewing #76432 using the introduction package, the following error occured:

Given you work as a simple editor and using the live search, the backend looks broken after clicking "Show all".

At first sight it looks like a javascript error in the console

Cannot read property 'indexOf' of undefined (modulemenu.js line 190).

But the reason is, that the "Simple Editor" has no access right to the module "Web -> List".

Just removing the button "Show all" and just displaying the results is no solution either. A click on a content element or any other result opens it in edit mode. But after closing it, the editor gets the error message "Access Error: You don't have access to this module. ... which is right, because he is still in the context of "Web => List".

Just taking another existing module like "Web->Page" is not a solution, but there will be editors out in the wild who have only access to third party modules like "News".

A possible solution may be to create a new backend extension "search" which includes the live search stuff and inherits al necessary parts of the functionality of the list module. If a user gets permission for the search, the live search is displayed and results are displayed. Displaying a seperate search module as "Web => Search" could be configurable.

This issue can be reproduced in TYPO3 7LTS and master.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #79974: Global TYPO3 search does not work entirely without list viewClosed2017-02-23

Actions
Actions

Also available in: Atom PDF