Red Hat Bugzilla – Bug 806131
push updates wrong local contentspec
Last modified: 2014-10-19 19:00:30 EDT
When I execute csprocessor push my local Red_Hat_Engineers_Guide_to_Zanata-post.contentspec is not updated.
Another directory is created inside my project directory, with the same name as my project- "Red_Hat_Engineers_Guide_to_Zanata" - and the server's latest content spec is downloaded as Red_Hat_Engineers_Guide_to_Zanata-post.txt
The local Red_Hat_Engineers_Guide_to_Zanata-post.contentspec in the current directory is overwritten with the latest server-side content spec
Fixed in 0.22.4
This is from another bug that Josh notified me about on irc but appears I missed for the push command.
The program assumed that the root directory would always be set. This was causing the root directory to be set to the CWD and therefore populating the new project files in the CWD.
The program produced unexpected results and was creating directories where it shouldn't be.
If no root directory is specified it will use the CWD to save items. If a root directory is specified then it will use that with the escaped title appened to save items.
Closing and setting as current release as no QA was performed by the original reporter. If there is still an issue with this bug still than please re-open it.