-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
-
---
-
---
-
-
-
2022 Week 50-02 (from Dec 12)
The possible improvements based on KOGITO-8104 review:
- When both type and icon are properly set, the type takes precedence, so the "type image" is rendered in the diagram. It should be to set in opposite way: the icon should always take the precedence if a valid image is used.
- If icon is set to empty string and type is set to non-existing type, the rendered image is empty circle, but when type is set to empty string and icon is set to non-existing image, or invalid base64 image, the rendered image is the default one. This could be unified. The default image could be rendered when non-existing type is set.
Expected Result
- metadata.icon should overtake precedence from metadata.type
- if metadata.icon is incorrect, now always will be default state shown if metadata.type is not set or incorrect.
- is caused by
-
KOGITO-8104 SWF Viewer - Ability to customize the states' icon (json)
- Closed
- relates to
-
KOGITO-8467 SWF Viewer - Icon metadata set to svg is showing white circle
- Closed