Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editengine/PhabricatorEditEngine.php
Show First 20 Lines • Show All 1,897 Lines • ▼ Show 20 Lines | foreach ($xactions as $xaction) { | ||||
// Let the parameter type interpret the value. This allows you to | // Let the parameter type interpret the value. This allows you to | ||||
// use usernames in list<user> fields, for example. | // use usernames in list<user> fields, for example. | ||||
$parameter_type = $type->getConduitParameterType(); | $parameter_type = $type->getConduitParameterType(); | ||||
$parameter_type->setViewer($viewer); | $parameter_type->setViewer($viewer); | ||||
try { | try { | ||||
$xaction['value'] = $parameter_type->getValue($xaction, 'value'); | $xaction['value'] = $parameter_type->getValue( | ||||
$xaction, | |||||
'value', | |||||
$request->getIsStrictlyTyped()); | |||||
} catch (Exception $ex) { | } catch (Exception $ex) { | ||||
throw new PhutilProxyException( | throw new PhutilProxyException( | ||||
pht( | pht( | ||||
'Exception when processing transaction of type "%s": %s', | 'Exception when processing transaction of type "%s": %s', | ||||
$xaction['type'], | $xaction['type'], | ||||
$ex->getMessage()), | $ex->getMessage()), | ||||
$ex); | $ex); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 281 Lines • Show Last 20 Lines |