learningequality / learningequality/studio

I can open a resource as if it is a topic

Open
#2,406 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P2 - normal
Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Summary

Very small chance of this happening at all, but just in case, might be good to prevent user from adding resource node ids to url as that treats them as if they are a topic

Category

BUG

How to reproduce

  1. Preview a resource
  2. Copy/paste the node id to the url after #/
  3. Navigate to resource

navbug

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reproduction steps: preview a resource, copy its node ID after #/, and navigate to that URL. Trace the URL navigation handling to distinguish resource node IDs from topic IDs; done means a resource node ID cannot open the resource as a topic.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.