Bug #140

JScriptEvaluator method evalToStringList() may return a list of one empty string

Added by Jonathan Clarke 9 months ago. Updated 8 months ago.

Status:Closed Start:06/11/2009
Priority:Low Due date:
Assigned to:Jonathan Clarke % Done:

100%

Category:Core
Target version:1.2.0
Problem in version:

Description

In some cases, the object returned by this method is a List containing one item, just a zero-length string.

This method should return an empty list instead. The zero-length string can cause problems, elsewhere. The BeanComparator in 1.1 branch filters these out, but it may causes problems if used from other places (DN generation or custom classes).

This is a minor bug, there is no impact on standard setups. Fix coming.

Associated revisions

Revision 364
Added by Jonathan Clarke 9 months ago

Avoid returning a List with only one empty string. Fixes #140.

History

Updated by Jonathan Clarke 9 months ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Updated by Jonathan Clarke 8 months ago

  • Target version changed from 1.1.2 to 1.2.0

Re-targeting this bug which does not actually apply to the 1.1 branch (nor has the patch been applied there).

Also available in: Atom PDF