Skip to content

[Bug] ArrayRepository always overwrites entries when adding #402

Open
@edglev

Description

@edglev

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

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions