fssa-batch3 / fssa-batch3/sec_b_thamim.subansait__corejava_project_2

update existing track

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

Description

user Story

user will successfully edit the tracks details

### Pre-requisites:-

- [ ] Completed feature 1 - create user
- [ ] completed feature 4 - upload track
- [ ] track model
- [ ] track dao(update)
- [ ] track service(update)

#### Validations:

- [ ] Form validator
* track object (null)
* track id (greater than 0)
* track name (null, empty, pattern)
- [ ] Business Validation

* Check whether the id exist

#### Message:
* track name is empty or null

#### Flow:

> Invalid When a track details or name is null or when the input provided does not meet the criteria, users arise.

```mermaid

graph TD;

A(Argument Passed to TrackService - track object) --> B(Form Validation) -- Valid -->E(Business Validation)
B--Invalid-->F(Validation exception)
E--valid-->G(Track dao)
E--Invalid-->H(validation Exception)
G-->I(Stored in database)

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.