Home » Web Services » SOAP » Bug #4882
missing dependencies
Details
| Submitted | 2005-07-22 11:25 UTC |
|---|---|
| From | scholz at digi-info dot de |
| Assigned | yunosh |
| Status | Closed |
| Package | SOAP |
| PHP Version | 4.3.10 |
| OS | Debian Sarge |
| Roadmaps | (Not assigned) |
Comments
[2005-07-22 11:25 UTC] scholz at digi-info dot de
Description:
------------
Hi,
if PEAR Package "Mail_mime" isn't installed, i expect a PEAR Error Object, but for now $mul is just an NULL soap_attachment Object.
It seems that something went wrong in SOAP's Value.php on Line 189, where PEAR::raiseError is called.
Test script:
---------------
<?php
require_once 'SOAP/Client.php';
$mul = new SOAP_Attachment (
"MUL",
"text/mul",
"mul.txt"
);
var_dump($mul);
?>
Expected result:
----------------
A PEAR Error if attachment could not created because of missing "Mail_mime"
Actual result:
--------------
empty SOAP_Attachment object