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

fix : 카테고리 수정 문제 해결 #165

Merged
merged 9 commits into from
May 10, 2024

Conversation

haroya01
Copy link
Collaborator

📝 작업 내용

  1. parentId 없이 name, slug를 수정할때 에러가 발생하던 문제를 해결했습니다.
  • 해당 문제는 name, slug 중복조건에서 자기 자신을 참조하는 문제가 있어 발생하는 에러였습니다.
  1. artwork, parentId, slud 가 null일 경우에 발생하던 400에러를 해결하였습니다.

  2. parentId로 자기 지신의 id를 집어넣을시 발생하던 stackoverflow문제를 해결했습니다.

  3. 카테고리 수정시 api가 put에서 patch로 변경되었습니다.

🦾 연관된 이슈

jirra이슈

- parentId없이 name, slug를 수정 하면 발생하는 문제 해결
- artwork, slug가 null일때 발생하는 문제 해결
- parentId로 자기자신을 호출할때 발생하는 문제 해결
@haroya01 haroya01 added bug Something isn't working D-2 리뷰 기간 디데이 2일 labels May 10, 2024
@haroya01 haroya01 requested a review from Hoon9901 May 10, 2024 01:43
@haroya01 haroya01 self-assigned this May 10, 2024
Copy link

github-actions bot commented May 10, 2024

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

- checkDeath()를 나중에 호출하도록 했습니다.
Copy link
Contributor

@Hoon9901 Hoon9901 left a comment

Choose a reason for hiding this comment

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

굿굿굿 고생했슴
다른거 코멘트도 체크부탁

Copy link

codecov bot commented May 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (hotfix@47b58cf). Click here to learn what that means.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##             hotfix     #165   +/-   ##
=========================================
  Coverage          ?   72.14%           
  Complexity        ?     1726           
=========================================
  Files             ?      254           
  Lines             ?     6384           
  Branches          ?      295           
=========================================
  Hits              ?     4606           
  Misses            ?     1573           
  Partials          ?      205           
Files Coverage Δ
...odebase/controller/MagazineCategoryController.java 100.00% <ø> (ø)
...ebase/domain/magazine/entity/MagazineCategory.java 93.33% <100.00%> (ø)
...main/magazine/service/MagazineCategoryService.java 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 47b58cf...8a19e94. Read the comment docs.

@haroya01 haroya01 merged commit 7ee11e6 into hotfix May 10, 2024
5 checks passed
@haroya01 haroya01 deleted the ART-186-be-카테고리-수정-api-이슈 branch May 10, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working D-2 리뷰 기간 디데이 2일
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants