Page MenuHomePhabricator

remove getZObjectAsJsonByZID and refactor the code to use existing getZObjectAsJsonById
Closed, ResolvedPublic

Description

Currently the code has two very similar methods:

  • getZObjectAsJsonByZID
  • getZObjectAsJsonById

The outcome of this ticket is to remove the first one "getZObjectAsJsonByZID" because its implementation is not very clean and it also fragile as it expect an object to just be preset once within the zObject (and this is not always going to be the case).