Page MenuHomePhabricator

[editEntity API] Refactoring: add parameter "new"
Closed, ResolvedPublic

Description

Currently the functionality to create new entities via the editEntity API module is broken. It will accidentally work for items, if the "id" parameter is not set but there is currently no way to create other entities than items.

The "new" parameter should contain the type of entity to create, currently "item"|"property"|"query". If the "id" parameter is set, the "new" parameter must not be set, this has to be checked.


Version: unspecified
Severity: normal

Details

Reference
bz49526