snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Emails not importing from CSV

Open BeehiveSystems opened this issue 8 years ago • 8 comments

Expected Behavior (or desired behavior if a feature request)

Import the CSV full over users, including their emails.


Actual Behavior

Everything imports perfectly except for the emails. See pictures in link below.

https://imgur.com/a/hB8KF


Please confirm you have done the following before posting your bug report:


Provide answers to these questions:

  • Is this a fresh install or an upgrade? Fresh install
  • Version of Snipe-IT you're running 4.1.8 3034
  • Version of PHP you're running 7.1
  • Version of MySQL/MariaDB you're running 5.5.56-MariaDB
  • What OS and web server you're running Snipe-IT on CentOS 7 and Apache
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) Install.sh
  • WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error N/A
  • What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error N/A
  • If a stacktrace is provided in the error, include that too. N/A
  • Any errors that appear in your browser's error console. N/A
  • Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo. N/A, can not import CSV in demo.
  • Include any additional information you can find in app/storage/logs and your webserver's logs.
  • Include what you've done so far in the installation, and if you got any error messages along the way. Reinstalled Snipe-IT on another CentOS 7 VM with LAMP stack, imported DB, problem persists.
  • Indicate whether or not you've manually edited any data directly in the database Have not manually edited data.

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

BeehiveSystems avatar Dec 12 '17 14:12 BeehiveSystems

I am experiencing the same issue, I was about to file a bug for it.

EarlRamirez avatar Dec 14 '17 03:12 EarlRamirez

@lohayon5 I tried using the following example and it worked; however, I did not use the general imported and I used the imported that is on the people page. Below is a sample of the CSV

firstName,lastName, username, email, location_id, phone, jobtitle, employee_num, company_id Jane,Doe,jdoe,[email protected],,2222,Engineer,1234,1

The image can be found of the successful import, I will try it with a couple hundred of users and report back.

image

EarlRamirez avatar Dec 16 '17 18:12 EarlRamirez

@lohayon5, I was able to successfully import 300+ users with the email address using the above format that is recommended when you perform the import from the "people" page. I downloaded the sample users import using the "general" importer and even that did not import the emails, looks this can be a bug. I just started preparing developer instance so that I can contribute to the project as much as I can so, for now, you can try using the method that has been successful for me and let us know.

EarlRamirez avatar Dec 16 '17 23:12 EarlRamirez

Unfortunately, that isn't working for me either. Here's a screenshot of my sample CSV. I'm doing this with debug mode enabled but not getting any type of error.

And here's the result.

BeehiveSystems avatar Dec 18 '17 10:12 BeehiveSystems

@lohayon5 was it imported from the importer that is on the people page? Do you see "imported user" under the notes column? I used the text CSV and don't know if this can be part of the problem or not.

EarlRamirez avatar Dec 18 '17 17:12 EarlRamirez

Assume this was done using the new UserImpoter. There was a bug when looking up emails. Will be fixed shortly.

mnemonicly avatar Dec 28 '17 16:12 mnemonicly

Should be fixed in current develop.

mnemonicly avatar Dec 30 '17 16:12 mnemonicly

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

stale[bot] avatar May 05 '18 07:05 stale[bot]