Description of problem: Client attempts to delete source documents when pushType is "translations only". Version-Release number of selected component (if applicable): 1.7.1 How reproducible: 100% Steps to Reproduce: 1. Create a source document, push to zanata 2. Delete source document 3. mvn zanata:push -Dzanata.pushType=trans Actual results: Deletes document from server if user has required security permissions (project maintainer/admin). Otherwise, a 401 error is returned. Expected results: Any other documents pushed, obsolete document ignored.
Fixed in release (client 1.7.4-SNAPSHOT): https://github.com/zanata/zanata-client/commit/0bfdb2f46bca63cb79bd4482fd3ca8ed49addb48 In integration/master (client 1.8.0-SNAPSHOT): https://github.com/zanata/zanata-client/commit/67adb17600fa6537178763c92b0c07f867544a31
VERIFIED with [INFO] client API version: 1.8.0-SNAPSHOT, server API version: 1.8.0-SNAPSHOT on Zanata version 1.8.0-SNAPSHOT (20121019-0031) client API version is 1.7,2, but server API version is 1.7.1-SNAPSHOT on Zanata version 1.7.4-SNAPSHOT (20121019-0015)