Skip to content

IE9 error response undefined #182

Closed
Closed
@albitxu

Description

@albitxu

When uploading a file using IE9 the response received in the error event is always undefined. I can't get the error message received from the server.

$scope.uploadTemplate = function() {
                $upload.upload({
                    url: '/data/kpi/upload?session_id=' + $scope.getSessionID(),
                    file: $scope.files[0],
                    paramName: 'file'
                }).success(function(response) {

                    }
                }).error(function(response, status) {
                    console.log('response=' + response);
                   //This is always undefined
                });
            };

In other browser it works perfectly. When the upload is successful everything goes fine. FileAPI is loading fine and also shim js. Why is the response always undefined? Am I doing something wrong?

Can you help, please?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions