Red Hat Bugzilla – Bug 831066
csprocessor errors with "no default" when all necessary details are given as args
Last modified: 2014-10-19 19:00:54 EDT
[jwulf@radhe books]$ java -jar /home/jwulf/docshack/bin/csprocessor.jar --host http://127.0.0.1:8180/TopicIndex -u jwulf list
CSProcessor client version: 0.23.5
Loading configuration from /home/jwulf/.config/csprocessor.ini
ERROR: No default server was found in the /home/jwulf/.config/csprocessor.ini configuration file. Perhaps you need to uncomment a default?
I would expect it to use the args and not complain about a default.
Fixed in 0.25.1
There was a check in place for command.getServerUrl() however at that point in time the URL hasn't been copied to the command if it's specified first.
If the server URL was specified before the command then the error above would occur.
Add another check to see if the URL was specified before the command.
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.