Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Accounts/Groups Index not updated after adding new account #57

Closed
dpakach opened this issue Jul 15, 2020 · 1 comment
Closed

Accounts/Groups Index not updated after adding new account #57

dpakach opened this issue Jul 15, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@dpakach
Copy link
Contributor

dpakach commented Jul 15, 2020

Steps to reproduce

  1. Add new user account using the CreateAccount gRPC call
  2. List the available accounts using ListAccount gRPC call

Expected Result

  1. The newly created account Is listed in the response

Actual Result

  1. The Account is created in the data store but not returned in the response

Explaination

The reason the accounts are not returned in the response is that the indexing used for retrieving groups/accounts from the file system is not updated. So it cannot find the new accounts.

Mentioned https://github.com/owncloud/ocis-accounts/blob/master/pkg/service/v0/groups.go#L327
Tests #32

@dpakach
Copy link
Contributor Author

dpakach commented Jul 17, 2020

Fixed by #59

@dpakach dpakach closed this as completed Jul 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant