[Opensource] transition names can't contain "."

Mike Traum mtraum at cirnetwork.org
Fri Jan 10 06:04:53 PST 2003


I'm getting exceptions when I name a transition with a "." in the name. I
believe the issue lies at ServletControllerRequest.addButtonParams(), where
the code is:
if (buttonName.indexOf(".") > 0) {
	buttonName = buttonName.substring(0,
	buttonName.indexOf("."));
}

What ends up happening is that this if statement will truncate the
transition name, and then the method will throw and exception because it
can't find the button's associated parameters by that name.

I'm not sure why this was done to begin with, but I don't have more time to
investigate right now because of work pressures, so if no one else has time
please put this on the list and I'll get back to it later.

Thanks,
Mike



More information about the Opensource mailing list