Binner icon indicating copy to clipboard operation
Binner copied to clipboard

Modifying Existing Parts Save Issue - "Duplicate Part"

Open JamesLPearson opened this issue 2 years ago • 1 comments

Hi Mike, another one for you. I think the behaviour may have changed since the update and I hope I'm not just making a simple mistake here.

I'm trying to edit an existing part (add a data sheet link). I search for the part, click on it to 'Edit Inventory' and make the changes. When I click on 'Save' the app thinks I'm trying to create a new part and pops up with the 'Duplicate Part' dialog box. Clicking 'Cancel' loses the changes and clicking 'Save Anyways' duplicates the part.

It creates a new part with most of the original part's fields missing. In this example I had quantity '98' and the new part has only '10'. The link to the datasheet wasn't saved to either part. Very strange.

I don't think it should be popping up with the 'Duplicate Part' dialog box when editing an existing item - something is going wrong there... on my installation at least.

Let me know if you need any more details or further testing/description.

JamesLPearson avatar Apr 23 '22 10:04 JamesLPearson

doh that sounds a problem for sure - Duplicate Part dialog should only be used on new adds. Should be an easy fix, I'll include a fix in the next upcoming release. Sounds like I need to add a UI test pipeline :)

replaysMike avatar Apr 25 '22 18:04 replaysMike