Custom fields: better error reporting when an exception occurs while finalizing the form

SVN:trunk[3956]
This commit is contained in:
Romain Quetiez
2016-03-18 10:35:09 +00:00
parent af87ef3623
commit 81317d4df9
3 changed files with 31 additions and 13 deletions

View File

@@ -413,7 +413,7 @@ class Form
{
if (!array_key_exists($sSomeId, $this->aFields))
{
throw new Exception('Missing dependancy : Field ' . $sImpactedBy . ' expecting field ' . $sSomeId . ' which is not in the Form');
throw new Exception('Unmet dependency : Field ' . $sImpactedBy . ' expecting field ' . $sSomeId . ' which is not in the Form');
}
}
}