Closed
Bug 685384
Opened 13 years ago
Closed 13 years ago
Storage API docs reference undefined "depth" property
Categories
(Cloud Services Graveyard :: Server: Sync, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: rfkelly, Unassigned)
Details
(Whiteboard: [qa-])
Reviewing docs at: http://docs.services.mozilla.com/storage/apis-1.1.htm#apis The entry for: DELETE https://server/pathname/version/username/storage/collection States that the deletions can be ordered "by depth, then by sortindex". What's "depth"? It's not defined elsewhere on the page.
Comment 1•13 years ago
|
||
Heh, wow. Depth is a really old field that we used to have in the early days to try to do trees on the server side. Tarek, is this index even supported in python? I seriously doubt it, and we probably need to pull the line.
Reporter | ||
Comment 2•13 years ago
|
||
The only reference to "depthindex" in server-storage code is the following comment in the testcases: # "sort" # 'oldest' - Orders by modification date (oldest first) # 'newest' - Orders by modification date (newest first) # 'index' - Orders by the sortindex (ordered lists) # 'depthindex' - Orders by depth, then by sortindex (ordered trees) # sort is used only if limit is used. # check this with toby
Comment 3•13 years ago
|
||
It's not implemented, we can nuke that doc line, thanks for the catch Ryan
Reporter | ||
Comment 4•13 years ago
|
||
References to "depth" removed in commits: http://hg.mozilla.org/services/docs/rev/603a3a0b21d3 http://hg.mozilla.org/services/server-storage/rev/c6bd42742071
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Whiteboard: [qa-]
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
Updated•1 year ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•