Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 619507 - No JSON object could be decoded... when trying to register with an invalid username or password
No JSON object could be decoded... when trying to register with an invalid u...
Status: RELEASE_PENDING
Product: Candlepin
Classification: Community
Component: candlepin (Show other bugs)
0.5
All Linux
low Severity medium
: ---
: ---
Assigned To: Bryan Kearney
Katello QA List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-29 13:29 EDT by John Sefler
Modified: 2015-05-14 11:22 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Sefler 2010-07-29 13:29:35 EDT
Description of problem:
# subscription-manager-cli register --username=fooooooo --password=barrrrr
No JSON object could be decoded


Actual Results:
No JSON object could be decoded


Expected Results:
Invalid username or password


Additional Info
This used to be the behavior


This is failing some automated tests
Comment 1 John Sefler 2010-07-29 13:37:43 EDT
Actually, I get the same error on valid users too, for example:

subscription-manager-cli register --username=epgy_bsears --password=redhat


Actual Results:
No JSON object could be decoded


Expected Results:
The user has been disabled, if this is a mistake, please contact customer service.

If my memory is correct, ^ used to be the expected results.
Comment 2 Justin Harris 2010-08-04 10:35:50 EDT
This has been fixed in master, and was due to incompatibilities when upgrading to the latest Resteasy release.  I reverted this back to the beta (previous) version and the message now reads 'Invalid username or password'.
Comment 3 wes hayutin 2010-08-10 10:18:42 EDT
[root@client02-rhel6-beta2 src]# ./subscription-manager-cli register --username=fooooooo --password=barrrrr --force
Invalid username or password
Comment 4 John Sefler 2011-05-04 10:40:45 EDT
Group move of VERIFIED Candlepin component bugs to RELEASE_PENDING

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