Bug #22496
closedbelog not shown / error when actions: error is selected
0%
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
Updated by Chris topher over 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/
Updated by Philipp Thiele over 14 years ago
patch created (attatched) and send to core list
Updated by Xavier Perseguers over 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.