Bug 737736 - Version create: error messages should show the exact reason of failing.
Summary: Version create: error messages should show the exact reason of failing.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 1.4-RC
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 1.7
Assignee: Alex Eng
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-13 01:07 UTC by Ding-Yi Chen
Modified: 2013-02-27 08:11 UTC (History)
3 users (show)

Fixed In Version: 1.7-SNAPSHOT (20120720-0026)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-02-27 08:11:16 UTC


Attachments (Terms of Use)

Description Ding-Yi Chen 2011-09-13 01:07:38 UTC
Description of problem:
When fail to create version, zanata shows "This slug is not available".

It will be better if zanata show the exact reason of failing, such as:
"The format of the ID is not correct"
"The Version ID has been used in this project"
"Cannot connect to server"
"You do not have permission to create version"

Version-Release number of selected component (if applicable):
1.4-SNAPSHOT (20110906-1403)

How reproducible:
Always

Steps to Reproduce:
1. Create a project "Proj"
2. Under "Proj", create a version "1"
3. Create a version, whose ID is also "1"
  
Actual results:
Error message: "This slug is not available".

Expected results:
"The Version ID has been used in this project"

Additional info:

Comment 2 Ding-Yi Chen 2012-06-07 04:54:45 UTC
Tested with Zanata version 1.6.1-SNAPSHOT (20120606-0019)

Actual result:
This Version ID is not available

Expected results:
"The Version ID has been used in this project"

REASSIGNED.

Comment 3 Alex Eng 2012-06-18 00:15:07 UTC
Changed message to "The Version ID has been used in this project"

See https://github.com/zanata/zanata/commit/9c5dbc2d49870aa8e8b1c4ea59e0b00cc54103cc

Comment 4 Ding-Yi Chen 2012-07-20 02:12:06 UTC
VERIFIED with Zanata version 1.7-SNAPSHOT (20120720-0026)


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