axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roshan Punnoose (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1148) Bug in TransportUtils with the file caching
Date Wed, 13 Sep 2006 12:17:23 GMT
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message