Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMI responds with SUCCESS resultCode to Show/Alert/SendLocation request with .jpeg image and isTemplate=true #319

Closed
GetmanetsIrina opened this issue Apr 14, 2020 · 1 comment
Assignees

Comments

@GetmanetsIrina
Copy link

GetmanetsIrina commented Apr 14, 2020

Bug Report

HMI responds with SUCCESS resultCode to Show/Alert/SendLocation request with .jpeg image and isTemplate=true

Reproduction Steps
  1. Start SDL and HMI
  2. Mobile app is registered and activated
  3. App adds the .jpeg image using PutFile RPC
  4. App requests Show/Alert/SendLocation RPC with value=<.jpeg image>, imageType=DYNAMIC, isTemplate=true
Expected Behavior

HMI returns WARNINGS resultCode to request.

Observed Behavior

HMI returns SUCCESS resultCode to request.

SDL -> HMI [14:11:59:101]: {"id":680,"jsonrpc":"2.0","method":"UI.Show","params":{"alignment":"CENTERED","appID":1426567666,"customPresets":["GEN0","GEN1","GEN2","GEN3","GEN4","GEN5"],"graphic":{"imageType":"DYNAMIC","isTemplate":true,"value":"/home/igetmanets/sdl/builds/release_6_1_RC/p/bin/storage/584421907_7a6402a6c573b4bc9259a92ee99310589b09df4f1cd1e636eba171097c0af1a8/icon_jpg.jpeg"},"showStrings":[{"fieldName":"mainField1","fieldText":"Show Line 1"},{"fieldName":"mainField2","fieldText":"Show Line 2"},{"fieldName":"mainField3","fieldText":"Show Line 3"},{"fieldName":"mainField4","fieldText":"Show Line 4"},{"fieldName":"mediaClock","fieldText":"12:34"},{"fieldName":"mediaTrack","fieldText":"Media Track"},{"fieldName":"statusBar","fieldText":"status bar"}],"softButtons":[{"image":{"imageType":"DYNAMIC","isTemplate":true,"value":"/home/igetmanets/sdl/builds/release_6_1_RC/p/bin/storage/584421907_7a6402a6c573b4bc9259a92ee99310589b09df4f1cd1e636eba171097c0af1a8/icon_jpg.jpeg"},"isHighlighted":true,"softButtonID":5546,"systemAction":"DEFAULT_ACTION","text":"Close","type":"BOTH"}]}}

UIRPC.js:157 FFW.UI.onRPCRequest
UIRPC.js:1623 FFW.UI.ShowResponse
RPCClient.js:318 HMI -> SDL [14:11:59:112]: {"jsonrpc":"2.0","id":680,"result":{"code":0,"method":"UI.Show"}}
OS & Version Information
@GetmanetsIrina GetmanetsIrina changed the title HMI responds with SUCCESS resultCode to Show request with .jpeg image and isTemplate=true HMI responds with SUCCESS resultCode to Show and Alert requests with .jpeg image and isTemplate=true Apr 14, 2020
@GetmanetsIrina GetmanetsIrina changed the title HMI responds with SUCCESS resultCode to Show and Alert requests with .jpeg image and isTemplate=true HMI responds with SUCCESS resultCode to Show/Alert/SendLocation request with .jpeg image and isTemplate=true Apr 14, 2020
@YarikMamykin YarikMamykin self-assigned this Apr 27, 2020
@jacobkeeler
Copy link
Contributor

closed via #462

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants