DevPath icon indicating copy to clipboard operation
DevPath copied to clipboard

[BUG] Duplicate project IDs in projects.json make 3 projects permanently unreachable

Open Siddh2024 opened this issue 5 months ago • 6 comments

## Description The DevPath project has three duplicate project IDs (8, 9, 10) in data/projects.json, making some projects permanently unreachable:

ID First Occurrence Duplicate Occurrence
8 "Password Strength Checker" (line 223) "Number Guessing Game" (line 367)
9 "Feedback Survey Form" (line 252) "Simple Email Automation" (line 398)
10 "API ETL Pipeline" (line 278) "Quiz App" (line 428)

The ind_project_by_id() function returns the first matching project and stops. This means "Number Guessing Game", "Simple Email Automation", and "Quiz App" will never be reachable through their detail pages. Users clicking on their result cards will see the wrong project.

Location

data/projects.json lines 223, 252, 278, 367, 398, 428

Impact

3 projects are entirely unreachable through their detail pages.

Suggested Fix

Assign unique, unused IDs (e.g., 12, 13, 14) to the three duplicated entries.

Please assign this issue to me @Siddh2024 so I can fix it.

Siddh2024 avatar Jun 05 '26 04:06 Siddh2024

hi @komalharshita could u plz assign me this task ?

MeghPatel-007 avatar Jun 05 '26 04:06 MeghPatel-007

/assign

Hii @komalharshita,

can you please assign this to me under GSSOC 2026

kundharamvamshi avatar Jun 05 '26 10:06 kundharamvamshi

Hi @komalharshita ,

I reviewed the issue and identified the duplicate project IDs causing the affected projects to be unreachable through their detail pages. I'd like to work on fixing this by assigning unique IDs to the duplicated entries and verifying that all project detail pages resolve correctly afterward.

Could you please assign this issue to me?

Thank you!

Monica-CodingWorld avatar Jun 07 '26 07:06 Monica-CodingWorld

Hi @komalharshita,

I would love to work on this issue under GSSoC 2026!

I've reviewed the problem and verified that find_project_by_id() is returning the first occurrence due to the overlapping IDs in data/projects.json.

My approach to fixing this:

  1. Update the IDs for the "Number Guessing Game", "Simple Email Automation", and "Quiz App" to unique, sequential integers (e.g., 12, 13, and 14) to prevent collisions.
  2. Cross-reference the repository to ensure these specific IDs aren't hardcoded anywhere else in the frontend/routing logic.
  3. Verify that the result cards now correctly route users to their respective, unique detail pages.

Could you please assign this issue to me? I'm ready to open a clean PR shortly. Thanks!

jyotsnak1603 avatar Jun 07 '26 10:06 jyotsnak1603

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

github-actions[bot] avatar Nov 13 '26 07:11 github-actions[bot]

This issue was closed because it has been inactive for an extended period. If this issue is still relevant, feel free to reopen it or create a new one.

github-actions[bot] avatar Nov 20 '26 08:11 github-actions[bot]