Project

General

Profile

Bug #1222

d1_libclient_java cleanup - small errors

Added by Rob Nahf almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_libclient_java
Target version:
Start date:
2011-01-13
Due date:
% Done:

100%

Milestone:
Product Version:
*
Story Points:
Sprint:

Description

miscellaneous bugs found during testing listObject methods:

  1. D1Node.sendRequest not checking for empty-string parameter String (nor all-whitespace)
  2. D1Node.deserializeAndThrowException(errorStream) assumes that errorStream contains an xml response, when it could be html (the CN Home page for example)
  3. same method on error doesn't recover and print out stream contents - making debugging difficult.
  4. D1.sendRequest() incorrectly replaces all whitespace characters with %20 only when a space character is present: if (restURL.indexOf(" ") != -1) restURL = restURL.replaceAll("\s", "%20");

Subtasks

Task #1229: refactor D1Node.sendRequest for consistent returns on errorsClosedRob Nahf

History

#1 Updated by Rob Nahf almost 14 years ago

  • Category set to d1_libclient_java
  • Status changed from New to In Progress
  • Assignee set to Rob Nahf
  • % Done changed from 0 to 80

addressed issues 1,2,4

#2 Updated by Rob Nahf almost 14 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)