diff --git a/application/forms/BpConfigForm.php b/application/forms/BpConfigForm.php index 9c85d23..53870fc 100644 --- a/application/forms/BpConfigForm.php +++ b/application/forms/BpConfigForm.php @@ -133,6 +133,14 @@ class BpConfigForm extends BpConfigBaseForm $name = $this->getValue('name'); if ($this->config === null) { + if ($this->storage->hasProcess($name)) { + $this->addError(sprintf( + $this->translate('A process named "%s" already exists'), + $name + )); + return; + } + // New config $config = new BpConfig(); $config->setName($name);