fssa-batch3 / fssa-batch3/sec_b_karkuvelraj.murugan__corejava_project_2

Update product

Open
#3 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

>Update product details in product table

#### Pre-requisites:
- [ ] complete product(create) module
- [ ] complete category module
- [ ] product model
- [ ] product service (Update product details)
- [ ] product DAO (Update product details)

#### Validations:
- [ ] Form validation
- Product input validation(product_id,name,description)
- [ ] business validation
- check whether the Product id exists

#### Messages:

* Product id should be above 0
* Product name cannot be null or empty
* Product description cannot be null or empty
* Product doesn't exist.

### Flow:

```mermaid

graph TD;

A[product Service: Update product Details] --> B[Form Validation]
B -- Valid --> C(business validaton)
C --- Valid --> D["product Dao : Update product Details"]
D --> E["product Service: Product Details Updated"]
C --- Invalid --> F["Product Service : Product does not exist"]
B -- Invalid --> G["Product Service : Invalid input"]

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the product service, product DAO, product model, and product(create) and category modules mentioned in the prerequisites. Trace the update flow from form validation through the business check and DAO operation. Done means valid product details update the product table, invalid inputs produce the listed messages, and nonexistent product IDs are rejected.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, database
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.