This repository was archived by the owner on Jan 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
This repository was archived by the owner on Jan 27, 2021. It is now read-only.
Need user id as UUID adjustments #41
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
BLOCKS owncloud/ocis#409
Steps
- Check out Update deps 2020 07 22 ocis#409
- Add redigo go.mod replace
replace github.com/gomodule/redigo => github.com/gomodule/redigo v1.8.2 - Start ocis
- Check out Phoenix locally (master)
- Compile Phoenix with
yarn build-all - Kill phoenix ocis service, CLI in ocis repo `bin/ocis-debug kill phoenix)
- Start ocis-phoenix from its repo with
PHOENIX_ASSET_PATH=~/work/workspace/phoenix/dist PHOENIX_WEB_CONFIG=~/work/workspace/phoenix/config-ocis.json bin/ocis-phoenix --log-level debug serverand point at the correct settings - Login in web UI as einstein/relativity
- Check network console for "value-list" and see that it's fine.
- Now in the Phoenix repo, setup test runner according to the docs but without LDAP
yarn run acceptance-tests tests/acceptance/features/webUICreateFilesFolders/createFolderEdgeCases.feature:58- In the middle of the test after log in, hit Ctrl+C
- Now in the web UI, log out and log in as "user1/1234"
- Check network console
Expected result
Call "value-list" has no error.
No notification.
Actual result
Notification "Failed to load settings"
400 Bad request for "value-list" call: account_uuid: must be a valid UUID.
OCIS log:
2020-08-12T12:38:11+02:00 DBG director found path=/api/v0/settings/values-list policy=reva prefix=/api/v0/settings routeType=prefix service=proxy
account_uuid:"user1"
2020-08-12T12:38:11+02:00 DBG bytes=36 duration=0.187233 method=POST path=/api/v0/settings/values-list proto=HTTP/1.1 request=a9c7b18a-684d-492c-98fc-5feba690cef7 service=settings status=400
so in the case of "user1" it's using "user1" as the UUID instead of a true uuid.
Maybe the Phoenix tests setup is not creating the test users properly ?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working