{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/activity-stream/issues/675","repository_url":"https://api.github.com/repos/mozilla/activity-stream","labels_url":"https://api.github.com/repos/mozilla/activity-stream/issues/675/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/activity-stream/issues/675/comments","events_url":"https://api.github.com/repos/mozilla/activity-stream/issues/675/events","html_url":"https://github.com/mozilla/activity-stream/issues/675","id":154280217,"number":675,"title":"Bug 1271974 - One or two \"Highlights\" tiles are not displayed after importing history from Chrome profile","user":{"login":"SoftVision-PaulOiegas","id":17258026,"avatar_url":"https://avatars.githubusercontent.com/u/17258026?v=3","gravatar_id":"","url":"https://api.github.com/users/SoftVision-PaulOiegas","html_url":"https://github.com/SoftVision-PaulOiegas","followers_url":"https://api.github.com/users/SoftVision-PaulOiegas/followers","following_url":"https://api.github.com/users/SoftVision-PaulOiegas/following{/other_user}","gists_url":"https://api.github.com/users/SoftVision-PaulOiegas/gists{/gist_id}","starred_url":"https://api.github.com/users/SoftVision-PaulOiegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoftVision-PaulOiegas/subscriptions","organizations_url":"https://api.github.com/users/SoftVision-PaulOiegas/orgs","repos_url":"https://api.github.com/users/SoftVision-PaulOiegas/repos","events_url":"https://api.github.com/users/SoftVision-PaulOiegas/events{/privacy}","received_events_url":"https://api.github.com/users/SoftVision-PaulOiegas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/activity-stream/labels/Bugzilla","name":"Bugzilla","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"rlr","id":36629,"avatar_url":"https://avatars.githubusercontent.com/u/36629?v=3","gravatar_id":"","url":"https://api.github.com/users/rlr","html_url":"https://github.com/rlr","followers_url":"https://api.github.com/users/rlr/followers","following_url":"https://api.github.com/users/rlr/following{/other_user}","gists_url":"https://api.github.com/users/rlr/gists{/gist_id}","starred_url":"https://api.github.com/users/rlr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlr/subscriptions","organizations_url":"https://api.github.com/users/rlr/orgs","repos_url":"https://api.github.com/users/rlr/repos","events_url":"https://api.github.com/users/rlr/events{/privacy}","received_events_url":"https://api.github.com/users/rlr/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-05-11T16:00:29Z","updated_at":"2016-05-23T13:32:52Z","closed_at":null,"body":"via https://bugzilla.mozilla.org/show_bug.cgi?id=1271974\r\n<hr>\r\n[Affected versions]:\r\n- Firefox 45.0 and up\r\n- Activity Stream 1.0.16\r\n\r\n[Affected Platforms]:\r\n- All Windows\r\n- All Linux\r\n- All Mac OS\r\n\r\n[Notes]:\r\n- Attached a Chrome profile data as history dataset to reproduce the issue. I have added in the attachment the steps for how to create the Chrome profile with the attached data (https://goo.gl/Fld5F5). \r\n- I have reproduced this issue with several different Chrome profiles, the one attached was a new Chrome profile on which I created some history in the last 2-3 days.\r\n- Attached a screen recording of the issue https://goo.gl/9FK9xB.\r\n- The issue is reproducible on the New Tab page as well. \r\n\r\n[Prerequisites]:\r\n- Latest Activity Stream add-on version (1.0.16) was previously installed on a clean profile.  \r\n\r\n[Steps to reproduce]:\r\n1. Open the browser with the profile from prerequisites.\r\n2. Click the Activity Stream button from the browser toolbar.\r\n3. Press the \"Ctrl+Shift+B\" key combination.\r\n4. After the \"Library\" window is opened, click \"Import and Backup\" button form the top of the window.\r\n5. From the displayed context menu, click on the \"Import data from another browser...\" button.\r\n6. Choose to import history from Chrome and select the profile from the provided attachment. \r\n7. Wait until the history is imported and after close the \"Library\" window.\r\n8. Refresh the Timeline page.\r\n\r\n[Expected result]:\r\n- All 3 \"Highlights\" tiles are correctly populated with history from Chrome profile.\r\n\r\n[Actual result]:\r\n- Only two of the 3 tiles are displayed and populated with history from Chrome profile.\r\n\r\n[Additional Notes]:\r\n- If the all three \"Highlights\" tiles are displayed, remove the first \"Highlight\" tile from history. This will leave the \"Timeline\" with just 2 of the 3 tiles displayed."},"comment":{"url":"https://api.github.com/repos/mozilla/activity-stream/issues/comments/220981129","html_url":"https://github.com/mozilla/activity-stream/issues/675#issuecomment-220981129","issue_url":"https://api.github.com/repos/mozilla/activity-stream/issues/675","id":220981129,"user":{"login":"SoftVision-CosminMuntean","id":19226534,"avatar_url":"https://avatars.githubusercontent.com/u/19226534?v=3","gravatar_id":"","url":"https://api.github.com/users/SoftVision-CosminMuntean","html_url":"https://github.com/SoftVision-CosminMuntean","followers_url":"https://api.github.com/users/SoftVision-CosminMuntean/followers","following_url":"https://api.github.com/users/SoftVision-CosminMuntean/following{/other_user}","gists_url":"https://api.github.com/users/SoftVision-CosminMuntean/gists{/gist_id}","starred_url":"https://api.github.com/users/SoftVision-CosminMuntean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoftVision-CosminMuntean/subscriptions","organizations_url":"https://api.github.com/users/SoftVision-CosminMuntean/orgs","repos_url":"https://api.github.com/users/SoftVision-CosminMuntean/repos","events_url":"https://api.github.com/users/SoftVision-CosminMuntean/events{/privacy}","received_events_url":"https://api.github.com/users/SoftVision-CosminMuntean/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T13:32:52Z","updated_at":"2016-05-23T13:32:52Z","body":"The websites were visited a single time in Chrome and the History was imported once. It seems that in the latest version of Activity Stream (v1.0.17-dev) all 3 \"Highlights\" tiles are populated with history, the empty tile is no longer displayed. However, we can observe that there are websites displayed twice in \"Highlights\".\r\n\r\nAfter further investigation we have compared \"about:newtab\" with Activity Stream Timeline and observed the following:\r\n- in \"about:newtab\", the websites are displayed only once, even if in History they are displayed multiple times after the History import from Chrome.\r\n- in Activity Stream Timeline, the websites imported from the Chrome profile are displayed twice. The difference between several websites is the \"www\" part, like: bbc.com vs www.bbc.com\r\n![duplicate websites](https://cloud.githubusercontent.com/assets/19226534/15472466/f331bf3c-2103-11e6-8615-88b71a038dbf.png)\r\n"}}
{"actor":{"display_login":"SoftVision-CosminMuntean"}}