Bug in TransportUtils with the file caching
-------------------------------------------
Key: AXIS2-1148
URL: http://issues.apache.org/jira/browse/AXIS2-1148
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: core
Affects Versions: 1.0
Environment: Weblogic 8.1, Axis2 Client
Reporter: Roshan Punnoose
Ok, maybe I'm not looking at this right, but I think I see a bug in
TransportUtils.selectBuilderForMIME(...):
Object cacheAttachmentProperty = msgContext
.getProperty(Constants.Configuration.CACHE_ATTACHMENTS);
String cacheAttachmentString = null;
boolean fileCacheForAttachments;
if (cacheAttachmentProperty != null) {
cacheAttachmentProperty =
cacheAttachmentProperty;
fileCacheForAttachments = (Constants.VALUE_TRUE
.equals(cacheAttachmentString));
The cacheAttachmentString is always going to be null right? Then, the
client will never actually cache the attachment in the temp directory if
the properties have been set. Right? Am I going crazy?
If you want, I can post my fix for it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]