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

게시글 수정시 수정대신, 신규글 생성 #595

Closed
kjy7105 opened this issue Jun 13, 2024 · 3 comments
Closed

게시글 수정시 수정대신, 신규글 생성 #595

kjy7105 opened this issue Jun 13, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@kjy7105
Copy link

kjy7105 commented Jun 13, 2024

게시글 수정시에, 기존 id값을 기준으로 내용을 수정하는 것이 아닌 신규id생성해서 새로운 게시글을 작성하는데 해당 부분에대해서 수정을 할려면 어떤부분을 봐야할까요

@Junanjunan Junanjunan self-assigned this Jun 13, 2024
@Junanjunan
Copy link
Contributor

테스트 상에서 말씀하신 오류재현이 되지 않는데,
어떤 방식으로 게시글을 수정하셨는지 설명을 자세히 해주실 수 있을까요?

@kjy7105
Copy link
Author

kjy7105 commented Jun 13, 2024

Screenshot from 2024-06-13 10-49-38
Screenshot from 2024-06-13 10-49-55
Screenshot from 2024-06-13 10-50-11

부트스트랩 테마에서 해보는중이며

현재 사진처럼 게시글을 생성해서 id값이 9인 게시글을 수정하려고 하였을때 수정하는 창까지는 정상적으로, 9를 기준으로 내용도 불러오지만,

내용 수정후에 완료를 클릭하면 새로운게시글이 생성됩니다.

@Junanjunan
Copy link
Contributor

Junanjunan commented Jun 13, 2024

부트스트랩 테마 템플릿에서
form내의 post 요청 url에
wr_id 파라미터가 조건적으로 붙는 부분이 생략되어 있어서 발생한 문제입니다.
수정해서 다음 버전에 반영하도록 하겠습니다.

@KimTom89 KimTom89 added the bug Something isn't working label Jun 13, 2024
KimTom89 added a commit that referenced this issue Jun 17, 2024
[fix] #595 부트스트랩 > 게시글 작성 폼 - 생성/수정 URL 조건 누락 수정
@kjy7105 kjy7105 closed this as completed Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants