-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Milestone
Description
When migrating from NS7, only favorite folders that point to folders in the same account are migrated.
All favorites that pointed to shared folders disappear from the interface.
Steps to reproduce
- user2 shares the entire account with user1
- user1 configures two favorite folders: one linked to their inbox and the second linked to user2's inbox
On the DB:
webtop5=# select value from core.user_settings where user_id ='user1' and key ='favorite.folders';
[{"accountId":"main","folderId":"Shared/user2@lg.nethserver.net/INBOX","description":"Inbox-user2"},{"accountId":"main","folderId":"INBOX","description":"Inbox-user1"}]
- WebTop migration to NS8
Expected behavior
- both favorite folders are migrated correctly and continue to work
Actual behavior
- the favorite folders are initially migrated to the DB, but after the first login to the user interface by user1, the favorite linked to user2's inbox is deleted because it no longer works:
webtop5=# select value from core.user_settings where user_id ='user1' and key ='favorite.folders';
[{"accountId":"main","folderId":"INBOX","description":"Inbox-user1"}]
The connection must be changed from this:
{"accountId":"main","folderId":"Shared/user2@lg.nethserver.net/INBOX","description":"Inbox-user2"}
to this:
{"accountId":"main","folderId":"Shared/user2/INBOX","description":"Inbox-user2"}
Components
nethserver-ns8-migration-1.3.4-1.ns7.x86_64
ns8-webtop
federicoballarini
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
ToDo