View Issue Details

IDProjectCategoryView StatusLast Update
0004227SOGo ConnectorBackend Address Bookpublic2017-07-12 13:23
ReporterChristianSo Assigned To 
PrioritylowSeveritytweakReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSUbuntuOS Version17.04
Summary0004227: Contacts with impossible birth age are not uploaded from Thunderbird to Nextcloud without clear message
Description

A Thunderbird contact with an impossible age (1961 years old in this case) is NOT uploaded to Nextcloud.
No error is displayed upon rejection of contact.

Steps To Reproduce

A) create a contact in TB and enter an impossible birth age
The TB Contact editing window has a Private tab with three fields:
1) day/month
2) year-born
3) age

3 is auto-calculated from 1 and 2.
If 2) year-born field is wrongly populated with 66 instead of 1966,
field 3) age is calculated to be 1961. Nobody gets that old yet!

B) Sync the address book.
C) Thunderbird terminal window claims contact is uploaded, but the contact is rejected.
D) Once the impossible age is correct the contact syncs fine.

What should happen: The criteria for rejection should be displayed to the user.

Additional Information

Thunderbird terminal upon first sync request
.................................
*** new sync: 2
2/sync with https://localhost/remote.php/dav/addressbooks/users/mext/a0f8830d-9894-4807-957e-9600eb0a73d1/...
GOT STATUS: 207
new card 'A Wrongbday' will be uploaded
new card 'Albert WrongBDAY' will be uploaded
GOT STATUS: 207
onServerSyncQueryComplete
item: 0bb17b50-122f-44f7-b661-e3194ec5a267.vcf; etag: "0bfc59b4c4d0e2b28f83b0d78b2b3685"; type: text/x-vcard; status: 200
local version: "0bfc59b4c4d0e2b28f83b0d78b2b3685"
skipped
item: C7995D3A-0F20-0001-75F6-1AEE1A40B1F0.vcf; etag: "c9c77a693090e2f4e44ef9235a4f469b"; type: text/x-vcard; status: 200
local version: "c9c77a693090e2f4e44ef9235a4f469b"
skipped
item: C7995D3A-0F20-0001-82C5-161071003AE0.vcf; etag: "418dd4a11463216a601cec6d766474c9"; type: text/x-vcard; status: 200
local version: "418dd4a11463216a601cec6d766474c9"
skipped
item: C7995D3A-0F30-0001-5315-1660C00FE5B0.vcf; etag: "985d909a8c6c72cee9284b9461cf7174"; type: text/x-vcard; status: 200
local version: "985d909a8c6c72cee9284b9461cf7174"
skipped
GETTING BUSY
checkCallback:

this = 2
this.processMode: 0
this.pendingOperations: 2
this.updatesStatus: 1
_checkCallback: processMode: 0
_checkCallback: pendingOperations: 2
NOTICE: uploading modified vcard with etag: -1
NOTICE: uploading modified vcard without etag
GOT STATUS: 415
checkCallback:

this = 2
this.processMode: 0
this.pendingOperations: 1
this.updatesStatus: 1
_checkCallback: processMode: 0
_checkCallback: pendingOperations: 1
NOTICE: uploading modified vcard with etag: -1
NOTICE: uploading modified vcard without etag
GOT STATUS: 415
checkCallback:

this = 2
this.processMode: 0
this.pendingOperations: 0
this.updatesStatus: 1
_checkCallback: processMode: 0
_checkCallback: pendingOperations: 0
checkCallback:

this = 2
this.processMode: 1
this.pendingOperations: 2
this.updatesStatus: 1
_checkCallback: processMode: 1
_checkCallback: pendingOperations: 2
checkCallback:

this = 2
this.processMode: 1
this.pendingOperations: 1
this.updatesStatus: 1
_checkCallback: processMode: 1
_checkCallback: pendingOperations: 1
checkCallback:

this = 2
this.processMode: 1
this.pendingOperations: 0
this.updatesStatus: 1
_checkCallback: processMode: 1
_checkCallback: pendingOperations: 0
saving new sync token: http://sabre.io/ns/sync/730
checkCallback:

this = 2
this.processMode: 2
this.pendingOperations: 0
this.updatesStatus: 1
_checkCallback: processMode: 2
_checkCallback: pendingOperations: 0
2/sync with https://localhost/remote.php/dav/addressbooks/users/mext/a0f8830d-9894-4807-957e-9600eb0a73d1/ has ended.

checkCallback:

this = 2
this.processMode: 2
this.pendingOperations: -1
this.updatesStatus: 1
_checkCallback: processMode: 2
_checkCallback: pendingOperations: -1
sogoWebDAV.js: an excepti
Operations < 0)
undefined:undefined

stack: undefinedurl: https://localhost/remote.php/dav/addressbooks/users/mext/a0f8830d-9894-4807-957e-9600eb0a73d1/
......................................

Thunderbird terminal upon subsequent sync trial
...........................................
*** new sync: 3
3/sync with https://localhost/remote.php/dav/addressbooks/users/mext/a0f8830d-9894-4807-957e-9600eb0a73d1/...
GOT STATUS: 207
new card 'A Wrongbday' will be uploaded
new card 'Albert WrongBDAY' will be uploaded
ctag matches or drop operation
NOTICE: uploading modified vcard with etag: -1
NOTICE: uploading modified vcard without etag
GOT STATUS: 415
checkCallback:

this = 3
this.processMode: 0
this.pendingOperations: 0
this.updatesStatus: 2
_checkCallback: processMode: 0
_checkCallback: pendingOperations: 0
checkCallback:

this = 3
this.processMode: 1
this.pendingOperations: 0
this.updatesStatus: 2
_checkCallback: processMode: 1
_checkCallback: pendingOperations: 0
NOTICE: uploading modified vcard with etag: -1
NOTICE: uploading modified vcard without etag
GOT STATUS: 207
checkCallback:

this = 3
this.processMode: 2
this.pendingOperations: 0
this.updatesStatus: 2
_checkCallback: processMode: 2
_checkCallback: pendingOperations: 0
3/sync with https://localhost/remote.php/dav/addressbooks/users/mext/a0f8830d-9894-4807-957e-9600eb0a73d1/ has ended.

GOT STATUS: 415
checkCallback:

this = 3
this.processMode: 2
this.pendingOperations: -1
this.updatesStatus: 2
_checkCallback: processMode: 2
_checkCallback: pendingOperations: -1
sogoWebDAV.js: an exception occured
Buggy situation! (pendingOperations < 0)
undefined:undefined

stack: undefinedurl: https://localhost/remote.php/dav/addressbooks/users/mext/a0f8830d-9894-4807-957e-9600eb0a73d1/C7995DD1-01D0-0001-EE74-15A012CB1D79.vcf
checkCallback:

this = 3
this.processMode: 2
this.pendingOperations: -2
this.updatesStatus: 2
_checkCallback: processMode: 2
_checkCallback: pendingOperations: -2
sogoWebDAV.js: an exception occured
Buggy situation! (pendingOperations < 0)
undefined:undefined

stack: undefinedurl: https://localhost/remote.php/dav/addressbooks/users/mext/a0f8830d-9894-4807-957e-9600eb0a73d1/

Tagscontacts, synchronizing, thunderbird

Activities

ChristianSo

ChristianSo

2017-07-12 05:42

reporter   ~0012091

Last edited: 2017-07-12 13:23

Possibly related to 0003902: SOGo connector allows upload of invalid VCARDs and don't display error on UI

Issue History

Date Modified Username Field Change
2017-07-11 14:38 ChristianSo New Issue
2017-07-11 14:41 ChristianSo Tag Attached: contacts
2017-07-11 14:41 ChristianSo Tag Attached: synchronizing
2017-07-11 14:41 ChristianSo Tag Attached: thunderbird
2017-07-12 05:42 ChristianSo Note Added: 0012091
2017-07-12 13:23 Christian Mack Note Edited: 0012091