[Uml-devel] Association between ACTOR & USE CASE Error Message

Gustavo Madrigal linux_news at nextphere.com
Sun Jan 27 11:55:04 UTC 2002


Hi,

I was testing a cvs snapshot from Jan 25th 2002, and I noticed a new Message 
Error in a Use Case Diagram when you try to connect an Actor and an Use Case 
with a simple association (the one with no arrow ends); It says:
"ERROR 15: Possible Association Error!". 

The code that produces this is in widgetassoccontainer.cpp, line 149:

if((valid == true) && (at == ACTOR && bt == USECASE)
			|| (at == USECASE && bt == ACTOR))
{
				int selection = KMessageBox::questionYesNo(0, "Possible incompatible 			
association. \n Make association anyway ?", "ERROR 15: Possible Association 
error!");
	if(selection == KMessageBox::Yes) {
		valid = true;
	} else {
		valid = false;
	} // else 				
} // if

Is this correct? Because now you can't associate an Actor with an Use Case 
without getting an error message.

Thanks,
Gustavo Madrigal





More information about the umbrello-devel mailing list