/api/upcoming-papers Throws 404 When No Exams are Active
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 68/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- api
调研方向
从 /api/upcoming-papers 路由开始,跟踪它如何处理没有即将到来的考试的情况。检查 API 响应和 Axios 调用方,了解空结果是如何处理的。当没有考试处于活动状态时,端点响应且不返回 404,并且前端不再记录 GET 失败,即为完成。
由索引模型根据 Issue 内容生成。
描述
When there are no upcoming exams (e.g. semester breaks, weekends, or after exams conclude), the API returns HTTP 404 (Not Found). This causes Axios on the front end to fail and flood the browser console with red GET 404 (Not Found) error logs.
- 主要语言
- TypeScript
- 星标
- 22
- 派生
- 66
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CodeChefVIT/papers-codechef 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
CodeChefVIT/papers-codechef#552 ·
-
Hardcoded "BMAT102L" Default Course Code可能已有人在做 @Dx-Alz-xD 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
CodeChefVIT/papers-codechef#548 ·
-
Search Bar NaN Sorting & Console Log Spam可能已有人在做 @Dx-Alz-xD 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
CodeChefVIT/papers-codechef#547 ·
-
Pinned subjects: a bad localStorage value crashes the page可能已有人在做 @Dx-Alz-xD 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 35/100
CodeChefVIT/papers-codechef#559 ·
-
Local dev: upload, request and subscribe return 500 when Upstash isn't configured可能已有人在做 @Dx-Alz-xD 今天认领。 未关闭
难度 3/5 1-2 天 新手友好度 25/100
CodeChefVIT/papers-codechef#558 ·
查看 CodeChefVIT/papers-codechef 的全部 Issue
相似的 Issue
-
enhancement language
难度 2/5 1-3 小时 新手友好度 67/100
pngwn/twinkleplop#178 ·
-
Type: Bug
难度 2/5 1-3 小时 新手友好度 78/100
resend/react-email#3889 ·
维护者通常 1 天内回复
-
build P3
难度 2/5 1-3 小时 新手友好度 82/100
maniator/verticopolis#1945 ·
维护者通常 1 天内回复
-
Admin users page number stays stale after filtering可能已有人在做 @matthewxkong 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
feature request needs triage
难度 2/5 1-3 小时 新手友好度 72/100