变更文章状态报错
Open
Nobody has claimed this yet.
bug
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 622
- PR merge metrics
- No merged PRs in 30d
Description
bug描述
非管理员用户新增文章后,后台管理员审核文章,改变文章的状态提交时报错,报错的原因:
后台封装dao的时候,request中获取文章类型为null,导致空指针异常
请问是我操作的问题,还是本身就有这个问题。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the workflow where a non-admin user creates an article and an administrator changes its status. Trace the article-status submission through the backend DAO and request handling, focusing on why the article type becomes null. Done means the administrator can submit the status change without a null-pointer error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100