Skip to content

SOLIDPOD: sharing a file to Public/AuthUsers fails with CheckPodInitialised() error #525

@jesscmoore

Description

@jesscmoore

Describe the Bug

When I use Notepod to try to share a note with the Public or Auth Users, the GrantPermissionUI() shows the grant permission process failed with a CheckPodInitialised error

To Reproduce

In notepod

  1. For one of My notes, and click share icon
  2. Click on Public or Auth Users, select Read access, and click on Grant
  3. See snackbar popup and console errors relating to check pod initialised function which shouldn't be called when Public selected.

Console:

flutter: checkPodInitialised() failed: 'package:solidpod/src/solid/api/rest_api.dart': Failed assertion: line 284 pos 12: 'resUrl.endsWith('/')': is not true.
...

Snackbar popup after try to share to Public:

Image

Snackbar popup after try to share to Auth Users:

Image

Expected Behaviour

Permission should grant successfully, and my ACL and permission log should update. Also expect to see a line in the displayed permission table.

Context

Where has the issue been observed:

  • Android
  • Chrome
  • iOS
  • Linux
  • macOS
  • Web
  • Windows

[Add any other context about the problem here.]

App Version: notepod 0.3.4, solidpod: 0.9.0
Flutter Version: 3.38.5

Closing Criteria

Checklist for closing the issue:

  • No errors from make prep
  • All tests pass make qtest
  • Successful permission granting to Public or Auth Users and permission table update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions