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

Issues with multiplicities m -- n #155

Closed
Nava2 opened this issue Aug 26, 2015 · 2 comments
Closed

Issues with multiplicities m -- n #155

Nava2 opened this issue Aug 26, 2015 · 2 comments
Labels
Priority-Medium This problem or request is likely to be of significant benefit if dealt with Status-Verified Type-Defect

Comments

@Nava2
Copy link
Contributor

Nava2 commented Aug 26, 2015

Originally reported on Google Code with ID 255


What steps will reproduce the problem?

  1. Copy/Paste the following code into UMPLE online.

class truck
{
1 -- n wheel;
}

class wheel
{
}

1 -- n is an invalid multiplicity. The generated diagram will show the two classes
with a [truck 1 -- -2 wheel] association between them.
Furthermore, if you generate java code from this, it should generate errors and not
return java code. However, it currently does generate code, but the code includes lines
like:
//FIXME - FOUND UNKNOWN ASSOCIATION RELATIONSHIP cruise.umple.compiler.AssociationVariable@1e9cb75
: cruise.umple.compiler.AssociationVariable@b753f8
and
UNABLE TO UNDERSAND association variable (see association_Get_All.jet)//FIXME - FOUND
UNKNOWN ASSOCIATION RELATIONSHIP cruise.umple.compiler.AssociationVariable@b753f8 :
cruise.umple.compiler.AssociationVariable@1e9cb75

Seen in version: UMPLE 1.15.0.1266


Reported by w12ucosp on 2012-01-21 22:46:37

@Nava2
Copy link
Contributor Author

Nava2 commented Aug 26, 2015

This has been fixed and will be promoted to Umpleonline soon


Reported by @umple on 2012-01-23 16:47:33

  • Status changed: Fixed

@Nava2 Nava2 added Type-Defect Priority-Medium This problem or request is likely to be of significant benefit if dealt with Status-Verified labels Aug 26, 2015
@Nava2
Copy link
Contributor Author

Nava2 commented Aug 26, 2015

Reported by @umple on 2012-01-23 18:19:55

  • Status changed: Verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority-Medium This problem or request is likely to be of significant benefit if dealt with Status-Verified Type-Defect
Projects
None yet
Development

No branches or pull requests

1 participant