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

Editing Project BOM with duplicate item is impossible #302

Closed
misaz opened this issue Jun 11, 2023 · 1 comment
Closed

Editing Project BOM with duplicate item is impossible #302

misaz opened this issue Jun 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@misaz
Copy link

misaz commented Jun 11, 2023

Describe the bug
On the project overview page there is option to add new BOM item directly. This feature do not check for duplicates which make possible to make project with BOM containing one part on multiple rows. Projects containing BOM with duplicate parts are later uneditable because editing fails with error (HTTP code 422). Even deleting one itme is insufficient. User need to delete both duplicated items, save project, then add item again.

Steps To Reproduce
Youtube: https://www.youtube.com/watch?v=50fFDrDZjtg

Expected behavior

  • BOM Adding Tool should check for duplicates OR
  • Project edit tool should work with projects with duplicate items

Server Side

  • Part-DB Version: 1.4.2
  • PHP Version: docker
  • Database Server Mariadb 10.11.3

Desktop (please complete the following information):

  • OS: Windows
  • Browser Firefox
  • Version 114
@misaz misaz added the bug Something isn't working label Jun 11, 2023
jbtronics added a commit that referenced this issue Jul 2, 2023
@jbtronics
Copy link
Member

This is now fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants