Philip Heilman - 2004-02-11

Logged In: YES
user_id=551630

Export
------
The reason why Facilitator was hanging when exporting was
because the while loop on line #48 was looping forever. This
was because completed in while (!cancelled && !
completed) was never being set to true.
After adding _status.setCompleted() at the end of the
showOk() method in ExportController.java (line #252), file
exporting should work fine.

The showOk() method is found in OperationStatus.java.

Import
------
The problem with the import feature of Facilitator was due to
a lack of a timeout between the creation of each base
criteria and the creation of each alternative. While all of the
base criteria that would go into a NotificationList were
created properly, there was not enough time to create the
elements in the DefaultMatrix. To solve this, the current
thread was set to sleep for 30 milliseconds. This gave time
for the listeners to create the columns and the rows
properly. The code was added to lines #656 and #786 in
ImportController.java.