Skip to content

Commit

Permalink
DELIA-65827: Getting Invalid information in response for org.rdk.Syst…
Browse files Browse the repository at this point in the history
…em.getPlatformConfiguration (#5714)

Reason for change: handled the Invoke Response with Thunder R4.4.1
Test Procedure: Verify in Jenkin Build
Risks: Medium
Signed-off-by: Thamim Razith [email protected]
  • Loading branch information
tabbas651 committed Sep 19, 2024
1 parent 7dcd374 commit b64ea88
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ResourceManager/ResourceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,11 @@ namespace WPEFramework {
}
}
}

if (!FromMessage(response, message, isResponseString))
{
return Core::ERROR_GENERAL;
}
#elif (THUNDER_VERSION == 2)
auto resp = dispatcher_->Invoke(sThunderSecurityToken, channelId, *message);
#else
Expand Down
5 changes: 5 additions & 0 deletions SystemServices/platformcaps/platformcapsdata.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ class PlatformCapsData {
}
}
}

if (!FromMessage(response, message, isResponseString))
{
return Core::ERROR_GENERAL;
}
#elif ((THUNDER_VERSION >= 4) && (THUNDER_VERSION_MINOR == 2))
Core::JSONRPC::Context context(channelId, message->Id.Value(), "");
auto resp = dispatcher_->Invoke(context, *message);
Expand Down

0 comments on commit b64ea88

Please sign in to comment.