[MKTAUT-85] Throw Exception or return empty JsonNode instead of nulls Created: 12/Dec/19  Updated: 23/Dec/19  Resolved: 18/Dec/19

Status: Closed
Project: Marketing Automation
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Improvement Priority: Neutral
Reporter: Ilgun Ilgun Assignee: Ilgun Ilgun
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 2.25h
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: Forms export
Sprint: Add-Ons 27
Story Points: 2

 Description   

MarketoClient returns nulls on some methods but rather it should either return JsonNode.empty() or throw an exception with meaningful explanations.

 

AC

  • Do not return nulls
  • Return Empty JsonNode or throw meaningful Exception

Generated at Mon Feb 12 10:12:10 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.