SolidOS / SolidOS/solid-ui

Wrong path resolved when navigating from index.ttl to resource in sub-folder

Open
#354 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
153
Forks
46
Avg merge
1d 8h
Merged PRs (30d)
7

Description

Given the following folder structure in a Pod:

├── Parent
│   ├── index.ttl
│   ├── Sub
│   │   └── file.ttl

and some triple in index.ttl linking to Sub:

<#this> <> <./Sub>

When opening /Parent or /Parent/index.ttl#this in a browser and expanding the tree up to file.ttl
Then the file can not be found

The data browser is doing a request against Parent/file.ttl instead of Parent/Sub/file.ttl

image

Contributor guide

No contributing guide indexed for this repository

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 by reproducing navigation from /Parent or /Parent/index.ttl#this through Sub/file.ttl in the data browser and inspect the path-resolution entry point. Done means the browser requests Parent/Sub/file.ttl and opens file.ttl instead of requesting Parent/file.ttl.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
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.