Bug 718648 - RFE: Forged URL handling: Zanata should display "locale is disabled" when visiting disabled locale.
Summary: RFE: Forged URL handling: Zanata should display "locale is disabled" when vis...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Logic
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 2.0
Assignee: Alex Eng
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-04 06:50 UTC by Ding-Yi Chen
Modified: 2012-11-07 06:18 UTC (History)
3 users (show)

Fixed In Version: 1.8.0-SNAPSHOT (20121010-0855)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-11-07 06:18:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Ding-Yi Chen 2011-07-04 06:50:42 UTC
Description of problem:

Zanata still allows visiting disabled locale with forged URL.
For example, if locale ja is disable from project AboutFedora,
the document list is still shown without error, 
and message list displays:  "An unknown error occurred".

The expected behavior are: Persistent (won't timeout) Error message "locale is disabled" should be shown in both case.

  

Version-Release number of selected component (if applicable):
1.4-SNAPSHOT (20110704-0602)


How reproducible:
Always


Steps to Reproduce:
1. Assume Project AboutFedora is pushed to Zanata
2. Disable locale ja
3. Visit http://zanataServer.com/zanata-test/webtrans/Application.html?project=AboutFedora&iteration=f11&localeId=ja&locale=en

  
Actual results:
Document list is still reachable without error,
and message list shows "An unknown error occurred"

Expected results:
"Locale is disable" should be shown in both document list and message list.


Additional info:

Comment 1 Sean Flanigan 2011-09-07 04:32:49 UTC
Assigning to Scrum product owner for prioritisation.

Comment 2 Alex Eng 2012-10-03 04:44:26 UTC
Implemented in version 2.0.
See https://github.com/zanata/zanata/commit/881fc6897636fa5b57bed809bdff4e072b90d6c8

Comment 3 Ding-Yi Chen 2012-10-10 03:57:47 UTC
VERIFIED with Zanata version 1.8.0-SNAPSHOT (20121010-0855)

Comment 4 Sean Flanigan 2012-11-07 06:18:20 UTC
Fix released in Zanata 2.0.


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