Bug 1098407

Summary: Copy Translations box does not close if process halted via Process Manager
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-UIAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: developmentCC: dchen, zanata-bugs
Target Milestone: ---   
Target Release: 3.5   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: 3.5.0-SNAPSHOT (git-server-3.4.1-39-g2204aa2) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-26 23:27:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Damian Jansen 2014-05-16 06:25:37 UTC
Description of problem:
If the Copy Translations process is halted via the admin Process Manager, the progress indicator stops but the box is still in the active state.

Version-Release number of selected component (if applicable):

How reproducible:
Easy always

Steps to Reproduce:
Pre: reasonable large project with documents
1. Log into zanata as admin and open two tabs
2. Go to the project version implied above, and in the other tab go Menu -> Administration -> Process manager
3. In tab 1, start a copy translations process
4. In tab 2, Cancel that process when it shows in the list

Actual results:
The Copy Translations box in tab one loses the progress bar, but remains

Expected results:
The box should either disappear, or indicate the process has been cancelled and say "Ok" instead of "Cancel"
Also, bringing the Copy Translations window back up at this point should just have the Start button, not Cancel

Additional info:

Comment 1 Alex Eng 2014-05-28 04:05:42 UTC
Pull request:

Comment 2 Ding-Yi Chen 2014-06-02 00:15:19 UTC
VERIFIED with Zanata 3.5.0-SNAPSHOT (git-server-3.4.1-39-g2204aa2)