Skip to content

Issues with multiplicities m -- n #155

Closed
@Nava2

Description

@Nava2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions