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

User Import - Start and End Date Error #15141

Closed
2 tasks done
m00shie opened this issue Jul 23, 2024 · 4 comments
Closed
2 tasks done

User Import - Start and End Date Error #15141

m00shie opened this issue Jul 23, 2024 · 4 comments
Assignees

Comments

@m00shie
Copy link

m00shie commented Jul 23, 2024

Debug mode

Describe the bug

Invalid start and end dates appears when editing users after performing import of users into Snipe-IT. I have also tried imported users with empty start and end dates fields but the same issue occurs.

Reproduction steps

  1. Go to Import
  2. Select CSV file to import
  3. Click on Map Field
  4. Select CSV import type as "Users"
  5. Verify CSV Header Field and Import Field (Note: No start or end date field) - See screenshot#1
  6. Click on Import
  7. Go to "People" and locate user that was imported.
  8. Click on "Edit" and view the start and end date which will display as "-0001-11-30" - See screenshot#2
    ...

Expected behavior

Start and end date should be empty.

Screenshots

Screenshot#1
Import_Screenshot

Screenshot#2
Edit_User

Snipe-IT Version

v7.0.8 build 14243

Operating System

Hosted by Snipe-IT

Web Server

Hosted by Snipe-IT

PHP Version

8.1.29

Operating System

Windows 11

Browser

Microsoft Edge

Version

126.0.2592.113

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

Unable to enable debug mode as I'm subscribed to Snipe-IT hosted subscription. Unable to simulate in https://snipeitapp.com/demo as import is disabled.

Additional context

No response

Copy link

welcome bot commented Jul 23, 2024

👋 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.

@marcusmoore
Copy link
Collaborator

Thanks for reporting this @m00shie. I can confirm the issue exists on the develop branch as well as v7.0.8. I'll work on a fix.

@m00shie
Copy link
Author

m00shie commented Jul 23, 2024

Thank you.

@snipe
Copy link
Owner

snipe commented Jul 24, 2024

This is merged to master and will be in the next release.

@snipe snipe closed this as completed Jul 24, 2024
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

3 participants