Project

General

Profile

Bug #4060

Double clicking on a Raspberry Pi platform element causes an exception to be thrown

Added by Tiziano Munaro about 2 months ago. Updated 4 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
09/09/2020
Due date:
% Done:

0%

Estimated time:

Description

How to reproduce

  1. Pull the latest changes from all AF3 repositories
  2. Import the attached model
  3. Try to open the platform architecture by double clicking on the Raspberry Pi component

Desired behavior

  • If the Raspberry Pi component has an editor on its own (e.g. to tune some of its properties), then this shall be opened.
  • Otherwise, the platform architecture shall be opened.

Notes

  • Notice the following in the ModelEditorBindingService
  • Line 156:
  • Here the bindings of the double clicked elements are retrieved. For a normal platform element (e.g. a GenericExecutionUnit), the returned list is empty and, hence, its parent element is opened: The platform architecture.
  • When double clicking a Raspberry Pi component, however, a binding is found: The PlatformRaspberryPiArchitectureFXEditorBinding. Thus, the service tries to open this instead of the platform editor.
lightrunner.af3_23 (281 KB) lightrunner.af3_23 Tiziano Munaro, 09/09/2020 11:15 AM

History

#1 Updated by Tiziano Munaro about 2 months ago

  • Description updated (diff)

#3 Updated by Tiziano Munaro about 1 month ago

  • Assignee changed from Tiziano Munaro to Simon Barner

#4 Updated by Simon Barner about 1 month ago

  • Assignee changed from Simon Barner to Johannes Eder

Merged, pls close.

#5 Updated by Johannes Eder 4 days ago

  • Status changed from Resolved to Closed
  • Assignee deleted (Johannes Eder)

Also available in: Atom PDF