Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list not showing all resources in a container #42

Closed
jeswr opened this issue Dec 29, 2022 · 2 comments
Closed

list not showing all resources in a container #42

jeswr opened this issue Dec 29, 2022 · 2 comments
Assignees

Comments

@jeswr
Copy link
Contributor

jeswr commented Dec 29, 2022

I have created this minimal repro which:

  1. Inserts a contacts resource into the root of a Pod storage
  2. Calls list on that root

As seen in the repro list does not show contacts when I expect that it would.

@jeswr
Copy link
Contributor Author

jeswr commented Dec 29, 2022

Calling list is also not showing the existance README or profile/ resources in the root.

Note that these should be discoverable from the containment triples

http://localhost:3002/example/

@prefix dc: <http://purl.org/dc/terms/>.
@prefix ldp: <http://www.w3.org/ns/ldp#>.
@prefix posix: <http://www.w3.org/ns/posix/stat#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.

<> a <http://www.w3.org/ns/pim/space#Storage>, ldp:Container, ldp:BasicContainer, ldp:Resource;
    dc:modified "2022-12-29T04:59:32.000Z"^^xsd:dateTime;
    ldp:contains <README>, <profile/>, <contacts>.

@mielvds mielvds self-assigned this Dec 30, 2022
@Dexagod
Copy link
Collaborator

Dexagod commented Dec 31, 2022

Hi Jesse,

Found the issue:
The problem was that the code is trying to look for additional metadata for these contains urls, which are not available here (probably are not mandatory for the Solid spec).
So instead of just returning the URIs it returned nothing.

Fixed with 797f099

@Dexagod Dexagod closed this as completed Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants