Skip to content

Choice Cells and Menu Cells do not take which properties are available into account for uniqueness #445

@crokita

Description

@crokita

Bug Report

References the iOS bug report: smartdevicelink/sdl_ios#1940

When determining uniqueness, we should take into account what will be displayed to the user, not just all available properties. For example, if a head unit does not support menu cell secondary text but that is the only uniquing factor between two cells, both will still be displayed on a 7.1+ head unit despite them appearing exactly the same.

Reproduction Steps
  1. Connect to a 7.1+ module that does not support secondary text
  2. Create two menu cells that are identical except for secondary text
  3. Display the two menu cells
Expected Behavior

The cells cannot be displayed because they are identical, or the cells have a uniquing factor applied to the primary text

Observed Behavior

The cells are displayed on the head unit identically

Browser & Version Information
  • SDL JavaScript Suite Module: Both modules
  • SDL JavaScript Version: 1.3.0
  • Testing Against: Manticore with core 7.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions