Description of problem: JON CLI "deleteEventsForContext" has signature which does not match remote usage. it accepts EntytiContext and List<Integer> ids. This signature is not consistent with the rest of remote APIs. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: var criteria=EntityCriteria(); EventManager.findEventsByCriteria(criteria); event= EventManager.findEventsByCriteria(criteria); var eventDetail=event.get(0); eventDetail.id 15554 EventManager.deleteEventsForContext(EntityContext.forResource(10003),15554);(not working) EventManager.deleteEventsForContext(EntityContext.forResource(10003),eventDetail.id); (not working) Actual results: Expected results: It should delete the events Additional info: deleteEventsForContext has unfortunately signature which does not match (enough) remote usage. it accepts EntytiContext and List<Integer> ids. This signature is not consistent with the rest of remote APIs. We can test like this: var list = java.util.ArrayList() list.add(new java.lang.Integer(10054)) EventManager.deleteEventsForContext(EntityContext.forResource(10003), list) However, this is not user friendly which would accept int... ids etc.
*** Bug 1273900 has been marked as a duplicate of this bug. ***