Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Example 1: [smartwheels-genx] IOConfiguration allows unchecking peripherals used in CAN configs #1

@mahesh-msk

Description

@mahesh-msk

Affected Tool:

smartwheels-genx


Bug Description:

In the IOConfiguration page of the ecux configuration editor, users can select DIGITAL_INPUT and DIGITAL_OUTPUT peripherals using the checkbox tree viewer.

However, even after these peripherals are referenced in other pages like CAN Tx or CAN Rx, users are still able to uncheck them directly in the IOConfiguration page. This breaks the link silently and can lead to misconfiguration or generation errors.

The system should prevent unchecking a peripheral if it is used in another configuration page. A proper dialog should be shown saying:

“This peripheral is used in CAN Tx/CAN Rx configuration. Please delete it from the referencing configuration before unchecking.”


Steps to Reproduce:

  1. Open SmartWheels GenX tool.
  2. Open an .ecux configuration file.
  3. Go to the IOConfiguration page.
  4. Select a few DIGITAL_INPUT peripherals.
  5. Go to CAN Tx Configuration and assign the selected peripherals.
  6. Now return to IOConfiguration, and try to uncheck the used peripheral.
  7. Peripheral gets unchecked without warning. ⚠️

Tool Version:

`smartwheels-genx v4


Attachments or Logs:

Image

Severity:

High (affects a feature, no warning or validation shown)


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions