RetrieveAndProcess of blank files not handled gracefully
--------------------------------------------------------

                 Key: XAP-17
                 URL: http://issues.apache.org/jira/browse/XAP-17
             Project: XAP
          Issue Type: Bug
            Reporter: Trevor Oldak


Create asimple XAP application with a button that will call an MCO. Have the 
MCO call RetrieveAndProcess to a blank file. This will cause an error to be 
thrown.


Sample RetrieveAndProcess MCO:

MyHandler.prototype.retrieveAndProcess = function (event, linkURL) {
        var request = new xap.requestservice.HttpRequest(linkURL);
        var requestService = event.session.getRequestService();
        var response = requestService.retrieveAndProcess(request);
}

-- 
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

        

Reply via email to