CSV import - no location_ID
Expected Behavior (or desired behavior if a feature request)
If i import a .csv with all attributes, the import works. BUT the location will be not set correctly. in the DB: it's say about the asset: location_ID NULL
Location:

Import-View:

After Import:

it's see correctly but if i click the location: it's empty

and the DB:

and when i make a export it's say:

is this normal?
Actual Behavior
Not a correctly (?) import
Please confirm you have done the following before posting your bug report:
- [X] I have enabled debug mode
- [X] I have read checked the Common Issues page
Provide answers to these questions:
- Is this a fresh install or an upgrade?
New: Installation is from 04.12
-
Version of Snipe-IT you're running 4.1.6
-
Version of PHP you're running 7.1.9
-
Version of MySQL/MariaDB you're running MySQL - 5.7.19
-
What OS and web server you're running Snipe-IT on Windows Server 2012 R2 - WAMP64
-
What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) WAMP Installation-Guide
-
WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
-
What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error
-
If a stacktrace is provided in the error, include that too.
-
Any errors that appear in your browser's error console.
-
Confirm whether the error is reproduceable on the demo: https://snipeitapp.com/demo.
-
Include any additional information you can find in
app/storage/logsand your webserver's logs. -
Include what you've done so far in the installation, and if you got any error messages along the way.
-
Indicate whether or not you've manually edited any data directly in the database
Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.
https://snipe-it.readme.io/docs/getting-help
Use literal location variable, not the DB/programs 'id' Say I have a location that is "San Francisco Office" That is the value the importer is looking for.
And also 'Default Location' and 'Location' are two different settings. 'Default Location' is the fall back variable anytime asset is not assigned or deployed, whilst the Location can dictate its current location.
Sorry but i don't understand the problem? i have in the .csv under "Location" --> "Lagerraum" after the import, under Settings -> the Location is empty
is the import "location" not the this setting?

ahh ok, i see the problem...
Can i import a asset directly to a location?
Like this:

CSV example Asset Tag, Model Name, Serial Number, Location, Category 2127809, PSC67N845, DP676-7654, San Francisco Office, Printer 2127810, LJ4560, AF65Z-244, New York Distribution Center, Printer 2127811, 2359LCD, VS5556178, San Francisco Office, Monitor
i create a test.csv (attachment) and this is the same (save as a .xlsx for upload);

after the import i click of San Francisco Office and this is emtpy;

How i can import a asset directly to a location?