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
4ca41995
Commit
4ca41995
authored
Jan 24, 2020
by
Carsten Rose
Browse files
Extend error message when missing subrecord column id
parent
4746344b
Pipeline
#3169
passed with stages
in 1 minute and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Classes/Core/AbstractBuildForm.php
View file @
4ca41995
...
...
@@ -2259,7 +2259,7 @@ abstract class AbstractBuildForm {
if
(
!
isset
(
$formElement
[
FE_SQL1
][
0
][
$nameColumnId
]))
{
throw
new
\
UserFormException
(
json_encode
([
ERROR_MESSAGE_TO_USER
=>
"Missing column [_]
$nameColumnId
in subrecord query"
,
ERROR_MESSAGE_TO_DEVELOPER
=>
$this
->
$formElement
[
FE_SQL1
]]),
json_encode
([
ERROR_MESSAGE_TO_USER
=>
"Missing column [_]
$nameColumnId
in subrecord query"
,
ERROR_MESSAGE_TO_DEVELOPER
=>
$formElement
[
FE_SQL1
]]),
ERROR_SUBRECORD_MISSING_COLUMN_ID
);
}
}
...
...
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