FsWisdom does not handle if Cancel is pressed during during download of cases (Ubuntu v.0.2.3)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Forssim |
Fix Released
|
Medium
|
Ulrika Dreifaldt |
Bug Description
If no previous cases has been downloaded (caseDirectory is empty) and the user is logged in to FsWisdom the cases are downloaded. If then the cancel button is pressed FsWisdom is closed. In this state the case directories are downloaded and if the user is logged in to FsWisdom it look like all the cases are ready to run (visible in list).
The content in caseDirectory has to be deleted in order for FsWisdom to download the cases again.
Steps to reproduce:
1) Delete content in caseDirectory
2) Start FsWisdom and login
3) During dowload of cases press cancel button
4) Start FsWisdom and login
<The cases are now visible in the list but it is not possible to start them>
Perhaps some control if the cases has been correctly downloaded during login?
Related branches
- Martin Flodin: Approve
-
Diff: 163 lines5 files modifiedFsWisdom/ApplicationNode.cpp (+16/-2)
FsWisdom/ApplicationNode.h (+5/-1)
FsWisdom/LocalCaseList.cpp (+3/-0)
FsWisdom/ProgressDialog.cpp (+7/-5)
FsWisdom/ProgressDialog.h (+1/-0)
Changed in forssim: | |
assignee: | nobody → Jimmy Jonsson (jimmy-jonsson-hiq) |
Changed in forssim: | |
importance: | Undecided → Low |
importance: | Low → Medium |
Changed in forssim: | |
status: | New → In Progress |
Changed in forssim: | |
assignee: | JohanO (johan-olofsson) → Jimmy Jonsson (jimmy-jonsson-hiq) |
assignee: | Jimmy Jonsson (jimmy-jonsson-hiq) → JohanO (johan-olofsson) |
Changed in forssim: | |
status: | Fix Committed → Incomplete |
Changed in forssim: | |
status: | Incomplete → In Progress |
Added eventhandling of closeEvent in progressdialog. Function stops ftp transfer and clears directories. Also stores a variable( ftpAborted) in the applicationNode class. The variable is used to make sure the transfer not starts all over if the user clicks on ok after closing the progressdialog.