Announcements
Welcome to the Upchain Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

It shouldn't be possibe to use the 'Replace Component' feature on a subassembly to replace it with some other component even when the parent assembly is locked by a different user

It shouldn't be possibe to use the 'Replace Component' feature on a subassembly to replace it with some other component even when the parent assembly is locked by a different user

Issue:

  • It is possible to use the 'Replace Component' feature on a subassembly to replace it with some other component even when the parent assembly is locked by a different user.

 

Steps:

  • Find or created some assembly with a few children.
  • Ask a colleague to check it out so the Assembly gets locked by a different user.
  • Find this assembly in the Plugin.
  • Go to some child item and right click it.
  • Choose Replace component.
  • Find replacement component in the pop-up search window.
  • Press Replace.

Expected behavior:

  • This should not be allowed as the whole assembly is checked out/locked by a different user. And not just the top level item, all the children should be locked as well.

Actual behavior:

  • Action is allowed and the subassembly is replaced with another component.

image-2024-10-08-12-47-09-596.pngimage-2024-10-08-12-37-17-785.png

 

Documentation does describe how this feature should be used but this leaves room for issues as it also should not be allowed and not just described - Search and replace.

Excerpt from documentation:

  • "Ensure you have an assembly open and checked out in which you wish to insert or replace an item."

 

TO DO:

  • Enforce the business logic to work as expected by adding a check if the assembly is locked by the current user.
  • The feature needs to be improved and the documentation updated afterward.

Acceptance criteria:

  • When top level item is locked, none of its child items can be replaced using 'Replace component' feature in the Plugin.
2 Comments
SonicFlow
Advocate

I'd clarify that we should be able to work on a subassembly inside the locked parent.  1st user has parent assembly checked-out, so no replace components there. Should be allowed for a 2nd user to check-out a child subassembly and Replace Component.

Status changed to: Under Review
 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea