View Issue Details

IDProjectCategoryView StatusLast Update
0003406SOGosogo-toolpublic2015-12-11 09:20
Reporterdatabeille Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platform[Server] LinuxOSRHEL/CentOSOS Version6
Product Version2.3.3a 
Summary0003406: user-preferences set default AuxiliaryMailAccounts string length limitation
Description

"sogo-tool user-preferences get default AuxiliaryMailAccounts" returns data correctly, no matter data's length.

But when trying to restore data, it seems there is a string length limitation, because it works well until a defined step I can not found. When it fails, sogo-tool returns "No value specified, aborting"

There is no string length limitation when using webmail or querying directly database.

Steps To Reproduce

sogo-tool user-preferences set default youremail@addr.ess AuxiliaryMailAccounts '{"AuxiliaryMailAccounts": REPLACE_WITH_ONE OF_FOLLOWING_DATA}'

It works with :

[{"userName":"aaaaaaaaaaaaaaaaaaa@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"aaaaaaaaaaaaaaaaaaa@zzzzzzzzzzz.com"}]},{"userName":"bbbbbbbbbbbbb@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"bbbbbbbbbbbbb@zzzzzzzzzzz.com"}]},{"userName":"ccccccc@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"ccccccc@zzzzzzzzzzz.com"}]},{"userName":"dddddddddd@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"dddddddddd@zzzzzzzzzzz.com"}]},{"userName":"eeeeeeeee@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"eeeeeeeee@zzzzzzzzzzz.com"}]},{"userName":"ffff@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"ffff@zzzzzzzzzzz.com"}]},{"userName":"ggggggggggggg@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"ggggggggggggg@zzzzzzzzzzz.com"}]},{"userName":"hhhhhhhhhhhhh@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"hhhhhhhhhhhhh@zzzzzzzzzzz.com"}]},{"userName":"iiiiiiiii@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"iiiiiiiii@zzzzzzzzzzz.com"}]},{"userName":"jjjjjjjjjjj@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"jjjjjjjjjjj@zzzzzzzzzzz.com"}]},{"userName":"kkkkkkkk@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"kkkkkkkk@zzzzzzzzzzz.com"}]},{"userName":"llllllllllllllll@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"llllllllllllllll@zzzzzzzzzzz.com"}]},{"userName":"mmmmmmm@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"mmmmmmm@zzzzzzzzzzz.com"}]},{"userName":"nnnnnnnnnnnnnnnn@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"nnnnnnnnnnnnnnnn@zzzzzzzzzzz.com"}]},{"userName":"ooooooooooooooo@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"ooooooooooooooo@zzzzzzzzzzz.com"}]}]

But it does not work with :

[{"userName":"aaaaaaaaaaaaaaaaaaa@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"aaaaaaaaaaaaaaaaaaa@zzzzzzzzzzz.com"}]},{"userName":"bbbbbbbbbbbbb@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"bbbbbbbbbbbbb@zzzzzzzzzzz.com"}]},{"userName":"ccccccc@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"ccccccc@zzzzzzzzzzz.com"}]},{"userName":"dddddddddd@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"dddddddddd@zzzzzzzzzzz.com"}]},{"userName":"eeeeeeeee@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"eeeeeeeee@zzzzzzzzzzz.com"}]},{"userName":"ffff@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"ffff@zzzzzzzzzzz.com"}]},{"userName":"ggggggggggggg@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"ggggggggggggg@zzzzzzzzzzz.com"}]},{"userName":"hhhhhhhhhhhhh@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"hhhhhhhhhhhhh@zzzzzzzzzzz.com"}]},{"userName":"iiiiiiiii@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"iiiiiiiii@zzzzzzzzzzz.com"}]},{"userName":"jjjjjjjjjjj@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"jjjjjjjjjjj@zzzzzzzzzzz.com"}]},{"userName":"kkkkkkkk@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"kkkkkkkk@zzzzzzzzzzz.com"}]},{"userName":"llllllllllllllll@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"llllllllllllllll@zzzzzzzzzzz.com"}]},{"userName":"mmmmmmm@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"mmmmmmm@zzzzzzzzzzz.com"}]},{"userName":"nnnnnnnnnnnnnnnn@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"nnnnnnnnnnnnnnnn@zzzzzzzzzzz.com"}]},{"userName":"ooooooooooooooo@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"ooooooooooooooo@zzzzzzzzzzz.com"}]},{"userName":"zzzz@zzzzzzzzzzz.com","name":"","serverName":"127.0.0.1","mailboxes":{"Trash":"&AMk-l&AOk-ments\u0020supprim&AOk-s","Drafts":"Brouillons"},"password":"password","identities":[{"fullName":"","email":"zzzz@zzzzzzzzzzz.com"}]}]

TagsNo tags attached.

Activities

databeille

databeille

2015-12-11 09:20

reporter   ~0009196

My mistake, please replace "default" by "defaults" and include you email account into the first line of "Description".

Issue History

Date Modified Username Field Change
2015-12-09 13:41 databeille New Issue
2015-12-11 09:20 databeille Note Added: 0009196