Commit 4ca41995 authored by Carsten  Rose's avatar Carsten Rose

Extend error message when missing subrecord column id

parent 4746344b
Pipeline #3169 passed with stages
in 1 minute and 56 seconds
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment