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

color cannot be changed if imported story already contains colored icons #201

Open
hofstef opened this issue Jan 15, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@hofstef
Copy link
Member

hofstef commented Jan 15, 2025

Describe the bug
Error message:

ERROR TypeError: b is undefined
rgbaToHex colorConverter.ts:5
getSelectedBusinessObject domainStoryContextPadProvider.js:342
executeCommandStack domainStoryContextPadProvider.js:353
DomainStoryContextPadProvider domainStoryContextPadProvider.js:47
Angular 10
onColorChanged app.component.ts:161
AppComponent_Template_input_colorPickerClose_1_listener app.component.html:7
Angular 13

To Reproduce

  1. Import from URL: https://github.com/WPS/egon.io-examples/blob/main/examples%20from%20the%20book/alphorn%20car%20leasing/en/alphorn-5a-riskassessment-fine-digitalized-tobe-colored.dst
  2. Select actor 'online leasing service'
  3. Open color picker from context pad
  4. Select a new color and click on canvas to apply => new color is not applied, console shows error message

Version

  • Egon: v2.3.0, v2.4.0-dev
  • Browser: Firefox
@hofstef hofstef added the bug Something isn't working label Jan 15, 2025
HannaWPS added a commit that referenced this issue Jan 17, 2025
a-kikhia pushed a commit that referenced this issue Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant