Project

General

Profile

Actions

Bug #66008

closed

LocalConfiguration 'adminOnly' => '-1', show sys_notes

Added by Birger Fuehne about 9 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2015-03-25
Due date:
% Done:

0%

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

Description

Current behaviour:
When you lock the access to the backend by setting 'adminOnly' => '-1', the system shows an exception message if you try to acess the login form:

"TYPO3 Backend locked: Backend and Install Tool are locked for maintenance. [BE][adminOnly] is set to "-1". More information regarding this error might be available online" (Link to http://wiki.typo3.org/Exception/CMS/1294586847)

Desired behaviour:
It would really nice if the system would also show sys_notes (if available) in addition to the above message. This would enable developers to inform the user about expected maintenance duration or other important information. Just like they are already displayed if adminOnly is set to other values than -1.


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Feature #60139: broadcast messagesClosed2014-07-07

Actions
Actions #1

Updated by Benni Mack almost 9 years ago

  • Target version set to 7.4 (Backend)
  • Sprint Focus set to On Location Sprint
Actions #2

Updated by Marc Willmann almost 9 years ago

Is this really wanted? As the sys_notes are stored in the database, this will require some database queries which is maybe a very bad idea in this system state.

Actions #3

Updated by Marco Huber almost 9 years ago

If just backend is locked (or admin only) then the frontend is still available and so there are database queries, too. So a simple SELECT shouldn't be too bad.

But now I see, that getting a database connection would be really hard at some points where adminOnly is checked (f.e. in TYPO3\CMS\Core\Core\Bootstrap::checkLockedBackendAndRedirectOrDie())

Actions #4

Updated by Georg Ringer almost 9 years ago

  • Status changed from New to Rejected

thanks marc for looking it up!

You could set it to 0 and add the file

typo3conf/LOCK_BACKEND
and add a redirect URL there to inform the users.

you could also disable the users and still use the sys_notes.

-1 is defined as shutdown and not planned to make there more rendering.

Actions #5

Updated by Anja Leichsenring over 8 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions

Also available in: Atom PDF