Closed
Bug 1039465
Opened 10 years ago
Closed 10 years ago
[Contacts DataRefactor] Tweak global_contacts_data module and multi_contact
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.1 S6 (10oct)
People
(Reporter: jmcf, Assigned: jmcf)
Details
Attachments
(1 file)
When dealing with performance test We discovered that there are some issues in global contacts and multi contact modules. We need to fix them.
Assignee | ||
Updated•10 years ago
|
Summary: Tweak global_contacts_data module and multi_contact → [Contacts DataRefactor] Tweak global_contacts_data module and multi_contact
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8457999 -
Flags: review?(francisco)
Comment 2•10 years ago
|
||
I'm a bit overloaded, Sergi would you mind to take a look?
Updated•10 years ago
|
Attachment #8457999 -
Flags: review?(francisco) → review?(sergi.mansilla)
Comment 3•10 years ago
|
||
Comment on attachment 8457999 [details]
21872.html
Reviewed. I wrote some suggestions and a couple of questions about the tests.
Attachment #8457999 -
Flags: review?(sergi.mansilla)
Assignee | ||
Updated•10 years ago
|
Attachment #8457999 -
Flags: review?(sergi.mansilla)
Updated•10 years ago
|
Target Milestone: --- → 2.1 S5 (26sep)
Assignee | ||
Comment 4•10 years ago
|
||
Sergi, please could you have a look. The PR has been there for a long time thanks!
Flags: needinfo?(sergi.mansilla)
Comment 5•10 years ago
|
||
I added some comments to the review, please assign to me again when it's ready, or let's discuss. Looks good so far!
Flags: needinfo?(sergi.mansilla)
Updated•10 years ago
|
Attachment #8457999 -
Flags: review?(sergi.mansilla) → review-
Updated•10 years ago
|
Attachment #8457999 -
Flags: review-
Updated•10 years ago
|
Target Milestone: 2.1 S5 (26sep) → 2.1 S6 (10oct)
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8457999 [details]
21872.html
Sergi,
I have commented the comments you made. Please have a look
thanks
Attachment #8457999 -
Flags: review?(sergi.mansilla)
Comment 7•10 years ago
|
||
Hi Jose, I agree with most comments. The only ones left to answer are: https://github.com/mozilla-b2g/gaia/pull/21872/files#diff-0a65f7b5fa64c80d46a8f7fd40d8109cR627 Also, the question: What is the difference of using the store variable in your code and using getDataStore()? They return the same object, right? In that case, only one of them should be used throughout the code.
Flags: needinfo?(jmcf)
Assignee | ||
Comment 8•10 years ago
|
||
(In reply to Sergi Mansilla [:sergi] (Telenor) from comment #7) > Hi Jose, > > I agree with most comments. The only ones left to answer are: > > https://github.com/mozilla-b2g/gaia/pull/21872/files#diff- > 0a65f7b5fa64c80d46a8f7fd40d8109cR627 > I've responded, thanks > Also, the question: > What is the difference of using the store variable in your code and using > getDataStore()? They return the same object, right? In that case, only one > of them should be used throughout the code. we need to call it to ensure the datastore is properly initialized. fixing that thanks
Flags: needinfo?(jmcf)
Assignee | ||
Comment 9•10 years ago
|
||
(In reply to Jose Manuel Cantera from comment #8) > (In reply to Sergi Mansilla [:sergi] (Telenor) from comment #7) > > Hi Jose, > > > > I agree with most comments. The only ones left to answer are: > > > > https://github.com/mozilla-b2g/gaia/pull/21872/files#diff- > > 0a65f7b5fa64c80d46a8f7fd40d8109cR627 > > > > I've responded, thanks > > > Also, the question: > > What is the difference of using the store variable in your code and using > > getDataStore()? They return the same object, right? In that case, only one > > of them should be used throughout the code. > > we need to call it to ensure the datastore is properly initialized. fixing > that thanks Update: We need to call getDatastore when we cannot guarantee that the datastore had been obtained previously. however, there are code paths on which we know the datastore must be there, so in order to avoid complexity, we use the variable directly. I hope this clarifies
Comment 10•10 years ago
|
||
Comment on attachment 8457999 [details]
21872.html
Thanks Jose! r+
Attachment #8457999 -
Flags: review?(sergi.mansilla) → review+
Assignee | ||
Comment 11•10 years ago
|
||
landed in master: https://github.com/mozilla-b2g/gaia/commit/f163359d45b9279f119385d1386a6e9bd0647a47
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•