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

Improve BUML Validation for “Invalid multiplicity values” issue #209

Closed
AtefehNirumandJazi opened this issue Feb 6, 2025 · 2 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@AtefehNirumandJazi
Copy link
Collaborator

When importing BUML model with the “Invalid multiplicity values” issue, error is not displayed in the graphical environment. For example:

I considered this incorrect part in my model:
taught_by: Property = Property(name="taughtBy", type=professor, multiplicity=Multiplicity(0, 0)) # ERROR: Invalid multiplicity

@ivan-alfonso
Copy link
Collaborator

We need to validate and generate an exception when the max value is less or equal to 0

@ivan-alfonso ivan-alfonso added bug Something isn't working good first issue Good for newcomers labels Feb 14, 2025
@jcabot jcabot self-assigned this Feb 16, 2025
@jcabot
Copy link
Collaborator

jcabot commented Feb 17, 2025

Added the max multiplicity check

@jcabot jcabot closed this as completed Feb 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 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants