Bug 1030732
Summary: | CopyTrans fails when invoked by pushing source document from client | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Zanata | Reporter: | Sean Flanigan <sflaniga> | ||||
Component: | Component-CopyTrans | Assignee: | Carlos Munoz <camunoz> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ding-Yi Chen <dchen> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | development | CC: | dchen, zanata-bugs | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.2 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | 3.2-SNAPSHOT (20131118-1242) | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-02-18 06:48:35 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: |
|
I think this is caused by new changes in the uses of 'Activity ' when pushing source documents. Copy trans from the UI doesn't seem to be affected, but it's worth testing it too. All hibernate entities that are used inside Work implementations should be loaded from inside the work invocation. Similarly, and we are more conscious of this, any Seam component instance used inside an AsyncTask implementation should be loaded from within the async call and not passed in. See: https://github.com/zanata/zanata-server/pull/274 See instead: https://github.com/zanata/zanata-server/pull/275 VERIFIED with Zanata version 3.2-SNAPSHOT (20131118-1242) zanata-maven-plugin:3.1.2 |
Created attachment 824271 [details] partial server.log Description of problem: CopyTrans fails when invoked by pushing document from client Version-Release number of selected component (if applicable): Zanata version 3.2-SNAPSHOT (20131114-1743) How reproducible: Pretty consistent, I think. Steps to Reproduce: 1. Use zanata-cli to push a document, with copytrans enabled Actual results: Client log: [INFO] pushing source doc [name=authconfig size=251] to server Done in 0 secs [INFO] Running Copy Trans for authconfig Done in 0 secs [WARN] Copy Trans for the above document stopped unexpectedly. Server log: see attachment Expected results: CopyTrans successful, no error logged Additional info: