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)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rnewman, Assigned: rfkelly)

References

Details

(Whiteboard: [qa+])

Attachments

(2 files, 1 obsolete file)

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: nobody → rfkelly
Blocks: 951986
Attached patch sync15-negative-sortindex.diff (obsolete) — Splinter Review
Okies then, I guess we have to comply.
Attachment #8375177 - Flags: review?(telliott)
Attachment #8375178 - Flags: review?(rnewman)
Attachment #8375178 - Flags: review?(rnewman) → review+
Actually I better add a test for this...
OK here's a better version
Attachment #8375177 - Attachment is obsolete: true
Attachment #8375177 - Flags: review?(telliott)
Attachment #8375184 - Flags: review?(telliott)
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+
Not sure why either, 'cept for presumably it being a default value somewhere.
Blocks: 972113
Deployment to prod can be tracked in Bug 972113
We should QA this and Bug 972113
Whiteboard: [qa+]
Already out there!...
Status: RESOLVED → VERIFIED
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: