Bug 978095 - zanata client can not push batched glossary
Summary: zanata client can not push batched glossary
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Maven
Version: 2.2
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Patrick Huang
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-26 01:12 UTC by Patrick Huang
Modified: 2013-11-27 03:22 UTC (History)
2 users (show)

Fixed In Version: 3.0.1-SNAPSHOT (commit 4ad67d7066)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-27 03:22:25 UTC
Embargoed:


Attachments (Terms of Use)

Description Patrick Huang 2013-06-26 01:12:42 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31
Build Identifier: 

When perform glossary push with large files require batch upload, the second iteration will fail with error:
Invalid use of SingleClientConnManager: connection still allocated
	at org.zanata.client.commands.glossary.push.GlossaryPushCommand.run(GlossaryPushCommand.java:183)
	at org.zanata.maven.ConfigurableMojo.runCommand(ConfigurableMojo.java:158)
	at org.zanata.maven.ConfigurableMojo.execute(ConfigurableMojo.java:129)



Reproducible: Always

Steps to Reproduce:
1. use fuel or compendium glossary file
2. use zanata maven plugin with version 2.2.0 or above (latest is 3.0.0)
3. execute mvn zanata:glossary-push
Actual Results:  
exception is thrown on second batch: Invalid use of SingleClientConnManager: connection still allocated 

Expected Results:  
all batch should be pushed.

Comment 2 Patrick Huang 2013-06-26 02:01:20 UTC
committed into master:
https://github.com/zanata/zanata-client/commit/8751fa1b82ca76cc07ff05982842a43e978f2bba

Comment 3 Ding-Yi Chen 2013-07-22 07:01:26 UTC
VERIFIED with Zanata version 3.0.0-alpha-2-SNAPSHOT (20130722-1231)
and Client commit 4ad67d7066 (3.0.1-SNAPSHOT)

Comment 4 Sean Flanigan 2013-11-27 03:22:25 UTC
Closing bugs which were VERIFIED with snapshots <= 3.1.


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