Skip to content

Unclear error message when adding non-group as group in sharing pane #121

Closed

Description

@renyuneyun

I tried this (from the dashboard of mashlib) on both CSS (my own server) and NSS (solidcommunity.net), and this error exists in both cases.

This happens when I try to add something that is not a vcard:Group as a group in sharing pane (where https://ME/ is the URL to my user's pod):

Error: Error: Drop fails to drop appropriate thing! https://ME/friends#group

(or https://ME/friends, if pointing to the file.)

Steps to reproduce:

  1. Expand to a file or directory.
  2. Open the share pane.
  3. Click on "add" button (assuming the file/directory has its own ACL).
  4. Click on "group" (the second button).
  5. Type a URI to a resource, and the resource is not a vcard:Group. In my case, I tried both https://ME/friends#group and https://ME/friends; the friends file is a ttl file in Solid (accessible to everyone), containing :group a foaf:Group and some other relevant information.
  6. Click on "tick"/yes button.
  7. Error appears.

Activity

  1. timbl commented on Feb 23, 2022

    @timbl
    Contributor

    @renyuneyun It has to be a vcard:Group, not a foaf:Group. That's what the ACL system uses. Sorry this wasn't clear from the error message.

  2. timbl commented on Feb 23, 2022

    @timbl
    Contributor

    Given that you had already selected that you want to add a group, nothing else, then it should have been able to say

    Error: Failed to add group to access:  `https://ME/friends#group` is not a `vcard:Group`
    
  3. renyuneyun commented on Feb 23, 2022

    @renyuneyun
    Author

    Thanks very much @timbl . That helps a lot.
    I got myself confused when trying that and switching between accounts.

    I'll change the description of this issue to make the actual thing clear.

  4. changed the title [-]Error when adding "group" in sharing pane[/-] [+]Unclear error message when adding non-group as group in sharing pane[/+] on Feb 23, 2022
  5. added
    enhancement
    good first issue
    on Mar 11, 2022
  6. SharonStrats commented on Mar 15, 2026

    @SharonStrats
  7. self-assigned this
    on Mar 16, 2026
  8. SharonStrats commented on May 28, 2026

    @SharonStrats

    The PR shows as merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementgood first issue

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions