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

Delete manufacturer by id #64 #99

Merged
merged 11 commits into from
Nov 1, 2023

Conversation

MatteoGuarnaccia5
Copy link
Contributor

@MatteoGuarnaccia5 MatteoGuarnaccia5 commented Oct 23, 2023

Description

Delete a manufacturer logic. Enables you to delete a manufacturer by its ID. Manufacturers who are a part of a catalogue item cannot be deleted and appropriate error message is displayed to the user

Testing instructions

  • Review code
  • Check Actions build
  • Review changes to test coverage
  • check with invalid, non-existent ID
  • check with ID that is in Catalogue Item

Agile board tracking

closes #64

@VKTB
Copy link
Collaborator

VKTB commented Oct 24, 2023

This PR supersedes #75. Comments there should be resolved when they get addressed,

@MatteoGuarnaccia5 MatteoGuarnaccia5 marked this pull request as ready for review October 24, 2023 09:48
@joelvdavies joelvdavies self-requested a review October 30, 2023 12:13
Copy link
Collaborator

@joelvdavies joelvdavies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments from #75 have been addressed in #85. I have tested this PR with ral-facilities/inventory-management-system#113 on the front end, which works so I think its also safe to merge this pending Viktor's approval provided this is merged at the same time.

@VKTB
Copy link
Collaborator

VKTB commented Oct 31, 2023

@MatteoGuarnaccia5 Could you please address #75 (comment) and I will approve? Thanks.
Actually, ignore that comment, the tests are posting catalogue items, not catalogue categories, my bad..

Base automatically changed from edit-manufacturer-#65 to develop November 1, 2023 14:35
@MatteoGuarnaccia5 MatteoGuarnaccia5 merged commit e0a57b5 into develop Nov 1, 2023
4 checks passed
@MatteoGuarnaccia5 MatteoGuarnaccia5 deleted the delete-manufacturer-by-id-#64 branch November 1, 2023 14:37
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

Successfully merging this pull request may close these issues.

As an admin, I want to be able to delete manufacturers
3 participants