Closed
Bug 972074
Opened 12 years ago
Closed 12 years ago
Clients send sortindex with negative values, server rejects
Categories
(Cloud Services Graveyard :: Server: Sync, defect)
Cloud Services Graveyard
Server: Sync
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: rnewman, Assigned: rfkelly)
References
Details
(Whiteboard: [qa+])
Attachments
(2 files, 1 obsolete file)
1.18 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
2.11 KB,
patch
|
telliott
:
review+
|
Details | Diff | Splinter Review |
15:44:40 < rnewman> ,"id":"qXiWDK_iOC-o","sortindex":-1,"ttl":5184000}
15:44:04 < rnewman> 1392248591527ISync.CollectionITRACEIPOST body: {"failed": {"qXiWDK_iOC-o": "invalid sortindex"}, "modified": 1392248591.46, "success": ["k8c2ec4hBJUd", "A7QIcSeT4g9Q",
"c1gE9pk5oJO0", "TUw_O4RfoIak", "lUc-H-g-hTGW", "s_HPMDrGZEwd"]}
15:45:49 < rfkelly> rnewman: ah, so sortindex is specced to be a positive integer in 1.5
15:46:03 < rfkelly> pls file bug, we can revert that to just "an integer"
Assignee | ||
Comment 1•12 years ago
|
||
Okies then, I guess we have to comply.
Attachment #8375177 -
Flags: review?(telliott)
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #8375178 -
Flags: review?(rnewman)
Reporter | ||
Updated•12 years ago
|
Attachment #8375178 -
Flags: review?(rnewman) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Actually I better add a test for this...
Assignee | ||
Comment 4•12 years ago
|
||
OK here's a better version
Attachment #8375177 -
Attachment is obsolete: true
Attachment #8375177 -
Flags: review?(telliott)
Attachment #8375184 -
Flags: review?(telliott)
Comment 5•12 years ago
|
||
Comment on attachment 8375184 [details] [diff] [review]
sync15-negative-sortindex.diff
Review of attachment 8375184 [details] [diff] [review]:
-----------------------------------------------------------------
Not sure why we would have negative sortindexes, but if the client needs it, it happens.
Attachment #8375184 -
Flags: review?(telliott) → review+
Reporter | ||
Comment 6•12 years ago
|
||
Not sure why either, 'cept for presumably it being a default value somewhere.
Assignee | ||
Comment 7•12 years ago
|
||
https://github.com/mozilla-services/server-syncstorage/commit/ad3ba44341af9596d3eef3bc6ecc0a32c35b741b
https://github.com/mozilla-services/docs/commit/1635e04b58e5b1f688533851d69eb1021bf94b2c
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•12 years ago
|
||
Deployment to prod can be tracked in Bug 972113
Updated•2 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•