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

Dependency wheel does not work when the component has attributes without a definition #244

Open
viennem opened this issue Nov 27, 2023 · 0 comments
Labels
Bug Something isn't working

Comments

@viennem
Copy link
Member

viennem commented Nov 27, 2023

The dependency wheel (➕ button) does not work when the component has attributes without a definition.

VUd4lGu3AC.mp4

This happens, because the case where the definition is null is not handled in the Component.setAttribute() method:

let attribute = currentAttributes
.find(({ definition }) => definition.name === attributeDefinition.name);

@viennem viennem added the Bug Something isn't working label Nov 27, 2023
@viennem viennem moved this to 🔖 Ready in Board of Leto-modelizer Nov 27, 2023
@Zorin95670 Zorin95670 moved this from 🔖 Ready to 📋 Backlog in Board of Leto-modelizer Dec 1, 2023
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
Status: 📋 Backlog
Development

No branches or pull requests

1 participant