Bug 831066 - csprocessor errors with "no default" when all necessary details are given as args
csprocessor errors with "no default" when all necessary details are given as ...
Product: PressGang CCMS
Classification: Community
Component: CSProcessor (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lee Newson
Depends On:
  Show dependency treegraph
Reported: 2012-06-12 02:38 EDT by Joshua Wulf
Modified: 2014-10-19 19:00 EDT (History)
2 users (show)

See Also:
Fixed In Version: 0.25.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-06-06 21:31:00 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joshua Wulf 2012-06-12 02:38:53 EDT
[jwulf@radhe books]$ java -jar /home/jwulf/docshack/bin/csprocessor.jar --host -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.

Comment 1 Lee Newson 2012-07-06 00:44:24 EDT
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.
Comment 2 Lee Newson 2013-06-06 21:31:00 EDT
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.

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