Project

General

Profile

Actions

Bug #24423

closed

About Modules show red warning because of reports, but reports only show a single yellow

Added by Philipp Gampe over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Reports
Target version:
-
Start date:
2010-12-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Since lately I get a red warning box in about modules linking to reports module. But in reports module I have only one yellow box (em - empty ter list).

This is very confusing.

(issue imported from #M16853)

Actions #1

Updated by Steffen Gebert over 13 years ago

I just investigated it and problem is that there's no distinction between warning and error. The about_modules screen only knows one severity, which results in an alwaye ERROR-style message.

Actions #2

Updated by Philipp Gampe over 13 years ago

Wrong behavior nevertheless :( and as I already said, this is very confusing.

Can this be solved in an easy way or would it require a bigger change?

Actions #3

Updated by Steffen Gebert over 13 years ago

Should be no too big deal..

t3lib_BEfunc::displayWarningMessages() would need some changes to support warnings/errors.

A start could be to rename $warning to $error and pass both variables to the hook. Then adjust the code there and in sysext:reports to add the error/warning to the corresponding array.

Can you try to do this? Have no time...

Actions #4

Updated by Ingo Renner over 13 years ago

This is not a bug. In this case the reports module is using the (back then) yellow warning box:

In 4.5, when you go to the reports module it detects the highest severity of statuses and stores that in sys_registry. Then when you go to the about module the reports moule takes over control of the warning box.
The value in sys_registry is read again and if higher than OK the message to check the reports is displayed.

The warning box has been red ever since it was changed from the old yellow to flash messages. AFAIK you can still see traces of the "yellow warning box" name in the code.

Actions

Also available in: Atom PDF