Project

General

Profile

Actions

Bug #22496

closed

belog not shown / error when actions: error is selected

Added by Philipp Thiele about 14 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-04-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When i show sys_log with backend module and "action: error" is selected, there is shown no output or an error message (ORA00920).
I use TYPO3 with Oracle11g (with DBAL).

Problem is located in typo3/sysext/belog/mod/index.php line 258:
// Action (type):
$where_part='';
if ($this->MOD_SETTINGS['action'] > 0) {
$where_part.=' AND type='.intval($this->MOD_SETTINGS['action']);
} elseif ($this->MOD_SETTINGS['action'] == -1) {
// $where_part.=' AND error'; - this causes the error because of a missing comperator
$where_part.=' AND error = 1';
}
(issue imported from #M14175)


Files

14175.diff (478 Bytes) 14175.diff Administrator Admin, 2010-05-11 15:36
Actions #1

Updated by Chris topher about 14 years ago

Hi Philipp,

thanks for the note. Since it seems like you have a solution for this already, please create a patch and send it to Core List.
Check out http://typo3.org/teams/core/core-mailinglist-rules/

Actions #2

Updated by Philipp Thiele almost 14 years ago

patch created (attatched) and send to core list

Actions #3

Updated by Xavier Perseguers almost 14 years ago

Committed to

- TYPO3 trunk (rev. 7652)
- TYPO3_4-3 (rev. 7653)
- TYPO3_4-2 (rev. 7654)

after changing the condition to "AND error != 0" as discussed in the mailing list.

Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF