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

DuplicateUniqueItem when accessing a webshare with username that is not unique across every internal LoginMethod #70

Open
jonathanj opened this issue Oct 31, 2020 · 0 comments · May be fixed by #71

Comments

@jonathanj
Copy link

Reading the documentation it seems like this ought to be impossible:

def linkTo(sharedProxyOrItem):
    """
    Generate the path part of a URL to link to a share item or its proxy.

    @param sharedProxy: a L{sharing.SharedProxy} or L{sharing.Share}

    @return: a URL object, which when converted to a string will look
        something like '/users/user@host/shareID'.

But in reality linkTo generates a URL with only a localpart username, and _storeFromUsername only expects a username with a localpart.

@jonathanj jonathanj linked a pull request Oct 31, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant