Skip to content

Creating vault and directly inviting users fails #29

Description

@bakkdoor

When creating a new vault and inviting users from the vault dialog during creation, the invited user does not get added.

Error in daemon:

2019-10-15 05:30:57 [I] Getting a list of vaults
2019-10-15 05:30:57 [I] Getting a list of vaults
2019-10-15 05:30:57 [E] Exception in connection
Traceback (most recent call last):
  File "syncrypt/backends/binary.py", line 1088, in _acquire_connection
    yield conn
  File "syncrypt/backends/binary.py", line 1181, in add_vault_user
    return (await conn.add_vault_user(user_id, identity))
  File "syncrypt/backends/binary.py", line 817, in add_vault_user
    revision.sign(identity=identity)
  File "syncrypt/models/revision.py", line 148, in sign
    self.assert_valid()
  File "syncrypt/models/revision.py", line 69, in assert_valid
    raise InvalidRevision("Invalid vault_id: {0}".format(self.vault_id))
syncrypt.exceptions.InvalidRevision: Invalid vault_id: None
2019-10-15 05:30:57 [I] 127.0.0.1 [15/Oct/2019:03:30:56 +0000] "POST /v1/vault/..../users/ HTTP/1.1" 500 243 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) ..."

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions