Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.10.0
-
Fix Version/s: 1.10.0
-
Component/s: Zend_Validate
-
Labels:None
Description
When validating '123456789' with Itf14 validator: we receive "'123456789' should be 9 characters" instead of "'123456789' should be 14 characters"
In Zend_Validate_Barcode, line 193:
$this->_length = strlen($value); $adapter = $this->getAdapter();
should be replace by
$adapter = $this->getAdapter(); $this->_length = $adapter->getLength();
Already fixed with r19974