When we define more than one constraint for different attributes in a class,
the generated constraint message error in the constructor seems to wrongly
concatenate the attributes more than one time, and misplace the comma separator.
Try this umple model:
class X {
Integer i;
Integer j;
[i > j]
[i < 5]
[i > 10]
[i != 14]
}
In the generated constructor message, we will have:
throw new RuntimeException("Please provide a valid i and j i i i");
What is the expected output? What do you see instead?
The generated constructor error message shall be:
throw new RuntimeException("Please provide valid i and j");
Please use labels and text to provide additional information.
N/A
Original issue reported on code.google.com by ahmedvc@gmail.com on 28 Jun 2014 at 4:52
Original issue reported on code.google.com by
ahmedvc@gmail.com
on 28 Jun 2014 at 4:52