Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$http hangs (or something) after being invoked within a Fineuploader method. #2557

Closed
@sweisman

Description

@sweisman

I don't know if this is an Angular or FineUploader problem, but there is a problem in the interaction later versions of Angular with it.

I have a site that uploads files (using FineUploader) within an Angular controller. When the file uploading is done, it then invokes a function that uses $http.post() to upload a standard form.

Until recently, this process worked flawlessly.

I haven't tested it in a few iterations (I'm on 1.1.4 now) but now, after the successful file uploading, I see the $http invocation within the JS debugger and...nothing happens. It hangs.

The uploader object is stored in $scope.uploader.

I originally thought it was a problem with FineUploader, but now I'm not so sure. The form is on a modal. After doing the submit (which fails to complete, hanging on the $http.post() invocation), if I close the modal and then reopen it, the $http.post() call finally completes.

Can someone explain further how $http works, and why it might hang?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions