baifanvhai / apromore

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

Oryx doesn't display error messages #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When Apromore-portal returns an error message to Oryx, this latter doesn't 
display it.

For instance, if the user tries to illegally override an version, 
Apromore-portal returns an error message: "Version .... cannot be overridden." 
which should be displayed by Oryx.

Original issue reported on code.google.com by macri.fa...@gmail.com on 21 Jan 2011 at 12:42

GoogleCodeExporter commented 9 years ago
I have tried to regenerate this issue couple of times. can you give me a test 
case for generating this issue? what happens at the moment is that after saving 
a process with an existing version number, the "code" that oryx gets from 
portal's message is "0" and there is no error message within the message (the 
process seems overridden after. ).

Original comment by mehrad1@gmail.com on 12 Apr 2011 at 10:11

GoogleCodeExporter commented 9 years ago
Let assume that a process has 3 versions: 0.1, 0.2, and 0.3 (see process #69 n 
brahms0). 
- It is legal to edit 0.3 and override it
- It is legal to edit 0.1 or 0.2 and save it as 0.4, but not as 0.2 or 0.3. In 
this later situation, apromore returns a message with code -3 and an 
appropriate message. 

At the moment when such an error occurs, oryx opens a popup window with the 
message "undefined"

Original comment by macri.fa...@gmail.com on 12 Apr 2011 at 12:42