Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

During Import, if a checkout type of location is specified and no checkout location is specified you get a 404 #11847

Closed
2 tasks done
SourSpoon opened this issue Sep 18, 2022 · 1 comment
Assignees

Comments

@SourSpoon
Copy link

SourSpoon commented Sep 18, 2022

Debug mode

Describe the bug

A 404 is generated with very little other details when you attempt to process an import when a checkout type of location is specified but no checkout location is specified.

This can be quite confusing when importing a larger file, as it's hard to pin down what is causing the issue.

Reproduction steps

  1. Create CSV with a checkout type column
  2. Specify checout type "location"
  3. Do not specify "checkout location"
  4. Import & process
  5. 404

Snipe_Import_That_breaks_stuff.csv

Expected behavior

Create an error to display back to the user. Much like other errors.

Screenshots

No response

Snipe-IT Version

6.0.10

Operating System

Windows

Web Server

IIS

PHP Version

8.0

Operating System

Windows

Browser

Chrome

Version

105

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

@welcome
Copy link

welcome bot commented Sep 18, 2022

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants