{"action":"created","issue":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/6469","repository_url":"https://api.github.com/repos/PrestaShop/PrestaShop","labels_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/6469/labels{/name}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/6469/comments","events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/6469/events","html_url":"https://github.com/PrestaShop/PrestaShop/pull/6469","id":179082370,"number":6469,"title":"Fix duplicate insert to specific price table","user":{"login":"iTiaNex","id":8756686,"avatar_url":"https://avatars.githubusercontent.com/u/8756686?v=3","gravatar_id":"","url":"https://api.github.com/users/iTiaNex","html_url":"https://github.com/iTiaNex","followers_url":"https://api.github.com/users/iTiaNex/followers","following_url":"https://api.github.com/users/iTiaNex/following{/other_user}","gists_url":"https://api.github.com/users/iTiaNex/gists{/gist_id}","starred_url":"https://api.github.com/users/iTiaNex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iTiaNex/subscriptions","organizations_url":"https://api.github.com/users/iTiaNex/orgs","repos_url":"https://api.github.com/users/iTiaNex/repos","events_url":"https://api.github.com/users/iTiaNex/events{/privacy}","received_events_url":"https://api.github.com/users/iTiaNex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-25T11:52:14Z","updated_at":"2016-10-12T09:44:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/6469","html_url":"https://github.com/PrestaShop/PrestaShop/pull/6469","diff_url":"https://github.com/PrestaShop/PrestaShop/pull/6469.diff","patch_url":"https://github.com/PrestaShop/PrestaShop/pull/6469.patch"},"body":"<!-- Thank you for contributing to the PrestaShop project! \r\n\r\nPlease take the time to edit the \"Answers\" rows with the necessary information: -->\r\n\r\n| Questions     | Answers\r\n| ------------- | -------------------------------------------------------\r\n| Branch?       |   \"1.6.1.x\"  \r\n| Description?  |  when duplicating a product,it shows the error something like \"Duplicate entry ‘1034-0-0-0-2016-07-21 00:00:00-2016-08-31 00:00:00-1-0-0-0-0-1-2’ for key ‘id_product_2’\" ,duplicating product failed\r\n| Type?         | bug fix  \r\n| Category?     | BO\r\n| BC breaks?    | yes\r\n| Deprecations? |  no\r\n| Fixed ticket? |  \r\n| How to test?  | create a \"catalog price rule\" ,then duplicating a product\r\n\r\n<!-- Click the form's \"Preview button\" to make sure the table is functional in GitHub. Thank you! -->\r\n\r\n#### Important guidelines\r\n\r\n* Make sure [your local branch is up to date](https://help.github.com/articles/syncing-a-fork/) before commiting your changes!\r\n* Your code MUST respect [our Coding Standards](http://doc.prestashop.com/display/PS16/Coding+Standards) (for code written in PHP, JavaScript, HTML/CSS/Smarty/Twig, SQL)!\r\n* Your commit name MUST respect our [naming convention](http://doc.prestashop.com/display/PS16/How+to+write+a+commit+message)!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/comments/253167750","html_url":"https://github.com/PrestaShop/PrestaShop/pull/6469#issuecomment-253167750","issue_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/6469","id":253167750,"user":{"login":"maximebiloe","id":2203436,"avatar_url":"https://avatars.githubusercontent.com/u/2203436?v=3","gravatar_id":"","url":"https://api.github.com/users/maximebiloe","html_url":"https://github.com/maximebiloe","followers_url":"https://api.github.com/users/maximebiloe/followers","following_url":"https://api.github.com/users/maximebiloe/following{/other_user}","gists_url":"https://api.github.com/users/maximebiloe/gists{/gist_id}","starred_url":"https://api.github.com/users/maximebiloe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximebiloe/subscriptions","organizations_url":"https://api.github.com/users/maximebiloe/orgs","repos_url":"https://api.github.com/users/maximebiloe/repos","events_url":"https://api.github.com/users/maximebiloe/events{/privacy}","received_events_url":"https://api.github.com/users/maximebiloe/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T09:44:27Z","updated_at":"2016-10-12T09:44:27Z","body":"Okay, let's try other tests.\r\nWe'll keep you posted, thanks!"}}
{"actor":{"display_login":"maximebiloe"}}