Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
f85d33f9
Commit
f85d33f9
authored
Sep 29, 2018
by
Carsten Rose
Browse files
F5458: Add '{{feUser:U}}' to be shown on exception. refs #5458
parent
e219e5f5
Pipeline
#929
passed with stage
in 1 minute and 57 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/Constants.php
View file @
f85d33f9
...
...
@@ -1582,6 +1582,7 @@ const EXCEPTION_SIP = 'current sip';
const
EXCEPTION_PAGE_ID
=
'Page Id'
;
const
EXCEPTION_TT_CONTENT_UID
=
'Content Id'
;
const
EXCEPTION_FE_USER
=
'FE User'
;
const
EXCEPTION_FE_USER_STORE_USER
=
'FE User STORE_USER'
;
const
EXCEPTION_EDIT_FORM
=
'Edit'
;
const
EXCEPTION_TIMESTAMP
=
'Timestamp'
;
...
...
extension/qfq/qfq/exceptions/AbstractException.php
View file @
f85d33f9
...
...
@@ -109,6 +109,7 @@ class AbstractException extends \Exception {
$arrDebugShow
[
EXCEPTION_PAGE_ID
]
=
$t3Vars
[
TYPO3_PAGE_ID
];
$arrDebugShow
[
EXCEPTION_TT_CONTENT_UID
]
=
$t3Vars
[
TYPO3_TT_CONTENT_UID
];
$arrDebugShow
[
EXCEPTION_FE_USER
]
=
$t3Vars
[
TYPO3_FE_USER
];
$arrDebugShow
[
EXCEPTION_FE_USER_STORE_USER
]
=
Store
::
getVar
(
TYPO3_FE_USER
,
STORE_USER
);
// Optional existing arrays will be flattened
$arrDebugShow
=
OnArray
::
varExportArray
(
$arrDebugShow
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment