Open
Description
What are you really trying to do?
Prevent multiple activities with the same name
Describe the bug
Registering multiples of the same activity does not throw ERROR_ALREADY_EXISTS
.
ArrayRepostiory's add method checks a non-existing array with isset($this->prototypes[$name])
and is always false, overwriting entries regardless of $overwrite
argument specified