Closed
      
        Bug 806656
      
      
        Opened 13 years ago
          Closed 12 years ago
      
        
    
  
Query records generated incorrectly
Categories
(Firefox for Android Graveyard :: Android Sync, defect)
Tracking
(firefox16 affected, firefox17 fixed, firefox18 fixed, firefox19 fixed)
        RESOLVED
        FIXED
        
    
  
        
            mozilla19
        
    
  
People
(Reporter: rnewman, Assigned: rnewman)
References
Details
(Whiteboard: [qa+])
Attachments
(1 file, 1 obsolete file)
| 3.96 KB,
          patch         | liuche
:
              
              review+ lsblakk
:
              
              approval-mozilla-aurora+ lsblakk
:
              
              approval-mozilla-beta+ | Details | Diff | Splinter Review | 
We're getting records without a URI, and with a blank folderName and queryId. Android Sync is at fault.
| Assignee | ||
| Comment 1•13 years ago
           | ||
| Assignee | ||
| Comment 2•13 years ago
           | ||
After the fixes in that branch, we:
* Correctly include bmkUri in produced bookmark records for query URIs.
* Omit fields which were encoded as empty strings prior to these fixes (e.g., if a query had no queryId, it now doesn't produce a blank string in the JSON output).
* No longer encode missing fields as empty strings in the first place.
This will prevent the upload of records which caused Bug 806460.
| Assignee | ||
| Updated•13 years ago
           | 
          status-firefox16:
          --- → affected
          status-firefox17:
          --- → affected
          status-firefox18:
          --- → affected
          status-firefox19:
          --- → affected
Whiteboard: [waiting for review]
| Assignee | ||
| Comment 3•13 years ago
           | ||
Same as the GitHub branch.
        Attachment #676485 -
        Flags: review?(liuche)
| Assignee | ||
| Comment 4•12 years ago
           | ||
https://hg.mozilla.org/integration/mozilla-inbound/rev/759b0e64b8b7
See Bug 806580 Comment 12 for how to verify this.
Will wait for verification before requesting uplift.
Whiteboard: [waiting for review] → [qa+]
Target Milestone: --- → mozilla19
| Assignee | ||
| Comment 5•12 years ago
           | ||
Reviewed on GitHub. liuche, please rubberstamp here.
Setting Aurora and Beta flags here for release drivers to take a look at. Will wait for verification before landing, of course.
This is the counterpart to Bug 806460, the fix for which was just uplifted.
This is a pretty straightforward fix, and now comes with tests in the services codebase.
        Attachment #676485 -
        Attachment is obsolete: true
        Attachment #676485 -
        Flags: review?(liuche)
        Attachment #676767 -
        Flags: review?(liuche)
        Attachment #676767 -
        Flags: approval-mozilla-beta?
        Attachment #676767 -
        Flags: approval-mozilla-aurora?
| Comment 6•12 years ago
           | ||
(In reply to Richard Newman [:rnewman] from comment #4)
> https://hg.mozilla.org/integration/mozilla-inbound/rev/759b0e64b8b7
> 
> See Bug 806580 Comment 12 for how to verify this.
> 
> Will wait for verification before requesting uplift.
I believe you meant https://bugzilla.mozilla.org/show_bug.cgi?id=806460#c12. How is this the same verification?
QA Contact: twalker
| Assignee | ||
| Comment 7•12 years ago
           | ||
(In reply to Tracy Walker [:tracy] from comment #6)
> (In reply to Richard Newman [:rnewman] from comment #4)
> > https://hg.mozilla.org/integration/mozilla-inbound/rev/759b0e64b8b7
> > 
> > See Bug 806580 Comment 12 for how to verify this.
> > 
> > Will wait for verification before requesting uplift.
> 
> I believe you meant https://bugzilla.mozilla.org/show_bug.cgi?id=806460#c12.
> How is this the same verification?
"and those queries won't appear (e.g., smart bookmarks on your toolbar won't appear). After Bug 806656 lands, those queries should sync successfully."
| Comment 8•12 years ago
           | ||
Comment on attachment 676767 [details] [diff] [review]
Aurora: fix.
Review of attachment 676767 [details] [diff] [review]:
-----------------------------------------------------------------
Like rnewman said, reviewed on github. Looks good here.
        Attachment #676767 -
        Flags: review?(liuche) → review+
|   | ||
| Comment 9•12 years ago
           | ||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Comment 10•12 years ago
           | ||
Comment on attachment 676767 [details] [diff] [review]
Aurora: fix.
Approving for uplift to go out with the fix in bug 806460 so that we stop creating bad records in the first place (as explained by rnewman in IRC).
        Attachment #676767 -
        Flags: approval-mozilla-beta?
        Attachment #676767 -
        Flags: approval-mozilla-beta+
        Attachment #676767 -
        Flags: approval-mozilla-aurora?
        Attachment #676767 -
        Flags: approval-mozilla-aurora+
| Assignee | ||
| Comment 11•12 years ago
           | ||
| Updated•12 years ago
           | 
Product: Mozilla Services → Android Background Services
| Updated•11 years ago
           | 
QA Contact: twalker
| Updated•8 years ago
           | 
Product: Android Background Services → Firefox for Android
| Updated•4 years ago
           | 
Product: Firefox for Android → Firefox for Android Graveyard
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•