Skip to content

status aborted for successfull upload #41

@jgrexa

Description

@jgrexa

Describe the bug
Getting status "Upload aborted" for successfull upload, when server response is empty.

To Reproduce
Steps to reproduce the behavior:
Using Dropzone in following way:

<Dropzone
  onChange={updateFiles}
  value={files}
  autoClean
  uploadConfig={{
    urlFromExtFile: (extFile) => replaceUrl(link, extFile),
    method: "PUT",
  }}
  actionButtons={{
    position: "after",
    uploadButton: {},
    abortButton: {},
    cleanButton: {},
    deleteButton: {},
  }}
>
  {files.map((file: ExtFile) => (
    <FileMosaic key={file.id} {...file} onDelete={removeFile} info />
  ))}
</Dropzone>

Expected behavior
Upload should be successfull for status 201 / created and no response.

Screenshots
Screenshot 2024-08-06 at 8 58 44

Desktop (please complete the following information):

  • OS: [macOS]
  • Browser [edge]
  • Version [127]

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions