MathewWi / umple

Automatically exported from code.google.com/p/umple
0 stars 0 forks source link

Filter parser isn't handling the following code in umpleonline #681

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

If you run the following code, umpleonline barfs

class Student
{
  0..1 -- 0..1 Mentor;
}

class Mentor
{
}

class School
{
  * -> * Mentor;
  * -> * Student;
}

filter X  {
  Student;
}

The issue is the "{" on the same line as filter X, please fix.

Original issue reported on code.google.com by aforw...@gmail.com on 25 Feb 2015 at 6:49

GoogleCodeExporter commented 9 years ago
Actually, it has nothing to do with the "{" (I was doubting myself so wanted to 
check some more).  The issue looks more like the filter is baulking at the 
relationship between the filtered out classes and filtered in.

Original comment by aforw...@gmail.com on 25 Feb 2015 at 6:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Relationships between filtered out/in classes are removed, then the issue is 
resolved.

Original comment by vivianxi...@gmail.com on 2 Mar 2015 at 6:27

Attachments: