Skip to content

[imaging_uploader] Uploading phantom scan unsuccessful #6285

@zaliqarosli

Description

@zaliqarosli

Describe the bug
On trying to upload a phantom scan (no requirements for file name), the progress bar goes to 100%, but nothing happens (success swal doesn't pop up, page not redirected). In console log, we get a 500 error and a JS uncaught type error:

Screenshot 2020-04-06 13 32 52

Additionally, this issue happens: #6288

To Reproduce
Steps to reproduce the behavior (attach screenshots if applicable):

  1. Go to 'Imaging Uploader' module
  2. Click on 'Upload' tab
  3. Fill in the form: 'Phantom Scans': Yes
  4. Upload a file into 'File to Upload' field, with any name but with correct file types .tgz or tar.gz or .zip
  5. Click 'Submit'
  6. See console log errors as in the screenshot above. No swal pops up where it should.

What did you expect to happen?
On clicking 'Submit', the upload should be successful, or if not, a swal with the corresponding error should pop up to notify the user.

Metadata

Metadata

Assignees

Labels

Category: BugPR or issue that aims to report or fix a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions