Adding a cross-listing through Edit Course creates a duplicate course row
Maintainers usually reply within 7 days
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 66/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- backend
Research direction
Start with the Edit Course save path that creates a cross-listed course row, then compare it with the duplicate checks added for the create form and import in #445. Reproduce the steps in the issue with a course already in the term and one in the same program. Done means editing avoids a duplicate row and rejects a cross-list within the same program.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 3
- Avg merge
- 8d 5h
- Merged PRs (30d)
- 6
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
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.
More from BCStudentSoftwareDevTeam/cas
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
BCStudentSoftwareDevTeam/cas#481 ·
Maintainers usually reply within 7 days
-
Courses sidebar jumps up when opening the Programs dropdownPossibly taken @Ayeyomeday claimed this 11 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BCStudentSoftwareDevTeam/cas#473 · 1 comment · 1 assignee ·
Maintainers usually reply within 7 days
-
Footer displays on the right side of the page instead of at the bottomPossibly taken @bakobagassas claimed this 15 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BCStudentSoftwareDevTeam/cas#452 · 3 comments · 1 assignee ·
Maintainers usually reply within 7 days
-
Improve menu selectionPossibly taken @bakobagassas claimed this 26 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
BCStudentSoftwareDevTeam/cas#448 · 1 assignee ·
Maintainers usually reply within 7 days
-
Update ReadMePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BCStudentSoftwareDevTeam/cas#444 · 2 comments ·
Maintainers usually reply within 7 days
All issues in BCStudentSoftwareDevTeam/cas
Similar issues
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
data good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 92/100
pacocartones/free-llm-api-hub#747 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
beginner-friendly category:fixtures community enhancement first-timers-only good first issue help wanted low hanging fruit micro-contribution type: task up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Berserk-hub150/skillhawk#282 · 1 comment ·