Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.4.0
-
None
Description
Playing around this morning, I seem to have hit an interesting bug.
releasedocmaker --project FALCON --outputdir FALCON --projecttitle 'Apache Falcon' --version 0 --version 1 --range --index --license
results in this URL getting generated:
https://issues.apache.org/jira/rest/api/2/search?jql=project+in+%28%27FALCON%27%29+and++++++++++++++++fixVersion+in+%28%270.0%27%29+and++++++++++++++++resolution+%3D+Fixed&startAt=0&maxResults=100
A completely valid URL. However, RDM reports on the screen:
JIRA returns HTTP error 400: Bad Request. Aborting. Please make sure the specified projects are correct.
whereas JIRA spits back
{"errorMessages":["The value '0.0' does not exist for the field 'fixVersion'."],"errors":{}}
So somewhere we are generating an invalid version and not verifying it with JIRA. Additionally, our error message is wrong which isn't going to help the user at all.