Bug 1219170 - Rechecking "Inherit languages from project settings." does not restore defaults
Summary: Rechecking "Inherit languages from project settings." does not restore defaults
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 3.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Damian Jansen
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-06 18:16 UTC by Elizabeth K. Joseph
Modified: 2015-07-28 23:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-28 23:12:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Elizabeth K. Joseph 2015-05-06 18:16:36 UTC
When you toggle "Inherit languages from project settings." and delete a few languages, with it unchecked it preserves the modified list of languages rather than presenting you with the full inherited list again.

Steps to Reproduce:
1. Go into a project and select one
2. In the Languages tab, select "Manage languages" from the right dropdown
3. See checkbox for "Inherit languages from project settings."
4. Uncheck it, see a bunch of languages show up
5. Remove a few languages
6. Change your mind and re-check "Inherit languages from project settings."
7. See number of languages restored to number it inherits, good
7. Change your mind again and check it
8. Deleted languages don't return and you have the lower number, huh

What I expected to happen was the deleted languages return and begin again to delete them down to what I want to use.

Additional info: This may be the intentional behavior rather than a bug, but if so it would be great to see documentation or some kind of note on the screen to explain what's happening. In the current form it was confusing and you can't easily go back to defaults after deleting languages (you have to manually look at the project languages list add them back one by one).

Or you could have an additional button to say "Reset inherited languages from project settings." or something when the box is unchecked so you can easily restore defaults.

Comment 1 Luke Brooker 2015-05-18 02:18:47 UTC
Thanks for this feedback, Elizabeth.

This was as it was intended, in the case where someone would go back to using the project level languages but then decide to restore their custom list.

We have some updates to the language settings screen coming and I will take this into account. The updated settings will make it easier to bulk add/remove languages.

I think the way you are trying to use it may be a better way. I'll see what we can do and keep you updated.

Comment 2 Zanata Migrator 2015-07-28 23:12:38 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-62


Note You need to log in before you can comment on or make changes to this bug.