Bug 1033436

Summary: Group page subtable not updated when a language is removed
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-UIAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Damian Jansen <djansen>
Severity: medium Docs Contact:
Priority: unspecified    
Version: developmentCC: zanata-bugs
Target Milestone: ---   
Target Release: 3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-18 06:48:27 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:
Embargoed:
Attachments:
Description Flags
Screenshot of error none

Description Damian Jansen 2013-11-22 05:24:13 UTC
Created attachment 827569 [details]
Screenshot of error

Description of problem:
If a project maintainer clicks on a language in the language tab, then removes that language from the group, the language still shows in the table

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

How reproducible:
Moderate, always

Steps to Reproduce:
1. Sign in as admin, go to Groups, select a group
2. If there are no languages, add one (go to settings -> languages, Add)
3. If there are no projects, add one (go to setting -> Projects, Add)
4. Go to the languages tab
5. Click a language so that the prokect shows in the right hand table
6. Go to settings -> languages
7. Remove the language
8. Click the languages tab

Actual results:
The language still shows in the right hand table

Expected results:
If the language in the table is the same as the removed language, it should be cleared/reset

Additional info:

Comment 1 Alex Eng 2013-11-24 23:48:52 UTC
Pull request:
https://github.com/zanata/zanata-server/pull/289

Comment 2 Damian Jansen 2013-11-25 03:48:02 UTC
Verified at 2a815b3473d0d4294434e5756bcb7888a8b33d9d