fssa-batch3 / fssa-batch3/sec_b_karkuvelraj.murugan__corejava_project_2

Delete product

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Product successfully deleted.

### Pre-requisites:
- [ ] Product DAO(delete Product )
- [ ] complete Product module
- [ ] Product DAO( delete )
- [ ] Product service ( delete )

#### Validations:

- [ ] Form Validation
* product_id <= 0
* name(null, empty, pattern)
- [ ] Business Validation
* Product_id (exist)

#### Messages:

* Invalid productId
* productId is not found

#### Flow:

```mermaid

graph TD;
A(ProductService - Dlelete product) --> B(Form Validation) -- Valid --> C(Business Validation)
B -- Invalid --> H(Validation Ecxeption)
C -- Valid --> D(ProductDAO)
D --> F(Set is_active=false in Database)
C -- Invalid --> G(Validation Exception)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the ProductService delete flow, then inspect the Product module and ProductDAO entry points. Trace the form and business validations for product_id and existence before the DAO call. Done means valid deletions set is_active=false and invalid or missing product IDs produce the specified validation messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.