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

import licenses ignores duplicate license name, UI allows it #8947

Open
yosiasz opened this issue Dec 30, 2020 · 3 comments
Open

import licenses ignores duplicate license name, UI allows it #8947

yosiasz opened this issue Dec 30, 2020 · 3 comments
Labels
licenses ❓ not sure if bug This issue has not been confirmed as a bug yet

Comments

@yosiasz
Copy link

yosiasz commented Dec 30, 2020

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

Describe the bug
There are cases we have same named licenses that need to be imported. Import collapses duplicate license names into 1. Other licenses are ignored.

To Reproduce
Steps to reproduce the behavior:

  1. Create a license import file
  2. Add 2 identically named licenses but purchased on a different date and price
  3. Import file
  4. One of those licenses sf left out and only one is imported into snipeit

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

Server (please complete the following information):

  • Snipe-IT Version : v5.0.11 - build 5695 (master)
  • OS: [e.g. Ubuntu, CentOS] Windows Server
  • Web Server: [e.g. Apache, IIS] IIS
  • PHP Version : 7.3.

** Error Messages **

  • None

Additional context

  • Fresh install

When adding same named licenses using the snipe it UI , it allows it. Import does not allow it

@LenryNmQ
Copy link

I have the same problem.
If I have for e.g. 10 licences all named "Windows 10 Pro" - but have unique serials, purchase dates, etc, only the first will be imported.

@Saad-Samba
Copy link

Same.

@snipe snipe added ❓ not sure if bug This issue has not been confirmed as a bug yet licenses labels Jun 8, 2022
@nashaden
Copy link

nashaden commented Apr 13, 2023

April 2023 and this is still an issue. If I add licenses via GUI it allows Software Name to be the same for separate licenses (like. Windows 10 Pro x64 for 10 separate licenses) but importing 20 licenses via csv file does not work. Imports only one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
licenses ❓ not sure if bug This issue has not been confirmed as a bug yet
Projects
None yet
Development

No branches or pull requests

6 participants