Adding a cross-listing through Edit Course creates a duplicate course row
维护者通常 7 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 66/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript
- 领域
- backend
调研方向
先从 Edit Course 的保存流程入手,该流程会创建一个交叉列出的课程行,然后将其与 #445 中为创建表单和导入功能添加的重复项检查进行比较。使用一门已在该学期中的课程和一门属于同一项目的课程,重现 issue 中的步骤。完成标准是编辑时避免产生重复行,并拒绝同一项目内的交叉列出。
由索引模型根据 Issue 内容生成。
描述
Issue
When you edit a course and add a cross-listing, a new child row is created for the other course no matter what. If that course is already in the term, you end up with two rows for it, both with no section, which is the same kind of duplicate #426 was about. #445 added a duplicate check for the create form and for import, but this path still has none.
It also lets you cross-list a course with one in the same program, which doesn't make sense.
Steps to reproduce
- Courses -> Term
- Edit parent course, add existing course in the table as a cross-listed course, save.
- The page now has two same course rows.
Found while testing #437. Related: #426, #445.
- 主要语言
- JavaScript
- 星标
- 0
- 派生
- 4
- 平均合并
- 8 天 5 小时
- 30 天内合并 PR
- 6
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
BCStudentSoftwareDevTeam/cas 的其他 Issue
-
Special topics rows on the Courses page have misaligned columns可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
BCStudentSoftwareDevTeam/cas#481 ·
维护者通常 7 天内回复
-
Courses sidebar jumps up when opening the Programs dropdown可能已有人在做 @Ayeyomeday 于 11 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
BCStudentSoftwareDevTeam/cas#473 · 1 条评论 · 已指派 1 人 ·
维护者通常 7 天内回复
-
Footer displays on the right side of the page instead of at the bottom可能已有人在做 @bakobagassas 于 15 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
BCStudentSoftwareDevTeam/cas#452 · 3 条评论 · 已指派 1 人 ·
维护者通常 7 天内回复
-
Improve menu selection可能已有人在做 @bakobagassas 于 26 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 67/100
BCStudentSoftwareDevTeam/cas#448 · 已指派 1 人 ·
维护者通常 7 天内回复
-
Update ReadMe可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
BCStudentSoftwareDevTeam/cas#444 · 2 条评论 ·
维护者通常 7 天内回复
查看 BCStudentSoftwareDevTeam/cas 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
ClouGence/open-cdm#487 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
cloudflare/workers-sdk#17159 ·
维护者通常 1 天内回复
-
size:S
难度 2/5 1-3 小时 新手友好度 72/100
blackie0424/tao_among#184 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
open-webui/open-webui#35045 · 1 条评论 ·
维护者通常 1 天内回复
-
[Type] Bug Gutenberg iOS
难度 2/5 1-3 小时 新手友好度 62/100
wordpress-mobile/GutenbergKit#942 ·
维护者通常 1 天内回复