You need to sign in to do that
Don't have an account?
Blob
DeleteResult does not contain any id when there is an error
If the DeleteResult isSuccess() returns false the getId() is null.
If the DeleteResult isSuccess() returns true the getId() contains the id that was removed.
Why can't the DeleteResult contain the id that failed to be deleted?
If I submitted several ids to be deleted and several had problems it would be nice to know which id that had what problem.
This is found using 7.0 API with StatusCode._INVALID_CROSS_REFERENCE_KEY error.
If the DeleteResult isSuccess() returns true the getId() contains the id that was removed.
Why can't the DeleteResult contain the id that failed to be deleted?
If I submitted several ids to be deleted and several had problems it would be nice to know which id that had what problem.
This is found using 7.0 API with StatusCode._INVALID_CROSS_REFERENCE_KEY error.
That helped.