{"action":"created","issue":{"url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/5025","repository_url":"https://api.github.com/repos/salesagility/SuiteCRM","labels_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/5025/labels{/name}","comments_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/5025/comments","events_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/5025/events","html_url":"https://github.com/salesagility/SuiteCRM/issues/5025","id":291627974,"number":5025,"title":"7.9.9 - Undefined when importing contacts","user":{"login":"mat8iou","id":35808167,"avatar_url":"https://avatars2.githubusercontent.com/u/35808167?v=4","gravatar_id":"","url":"https://api.github.com/users/mat8iou","html_url":"https://github.com/mat8iou","followers_url":"https://api.github.com/users/mat8iou/followers","following_url":"https://api.github.com/users/mat8iou/following{/other_user}","gists_url":"https://api.github.com/users/mat8iou/gists{/gist_id}","starred_url":"https://api.github.com/users/mat8iou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mat8iou/subscriptions","organizations_url":"https://api.github.com/users/mat8iou/orgs","repos_url":"https://api.github.com/users/mat8iou/repos","events_url":"https://api.github.com/users/mat8iou/events{/privacy}","received_events_url":"https://api.github.com/users/mat8iou/received_events","type":"User","site_admin":false},"labels":[{"id":185381912,"url":"https://api.github.com/repos/salesagility/SuiteCRM/labels/Fix%20Proposed","name":"Fix Proposed","color":"bfe5bf","default":false},{"id":327022696,"url":"https://api.github.com/repos/salesagility/SuiteCRM/labels/Medium%20Priority","name":"Medium Priority","color":"eb6400","default":false},{"id":57696485,"url":"https://api.github.com/repos/salesagility/SuiteCRM/labels/bug","name":"bug","color":"e11d21","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-25T16:18:21Z","updated_at":"2018-02-08T12:29:15Z","closed_at":null,"author_association":"NONE","body":"#### Issue\r\nPop up that just says \"Undefined\" with a Cancel and OK button appears when importing contacts with the option to  \"Create new records and update existing records\" checked.\r\n\r\nThe message comes up the moment the Next button is presssed\r\n\r\nThe problem occurs in an identical way on the official demo site.\r\n\r\n#### Expected Behavior\r\nDialogue should indicate what the issue is that you are to respond to, rather than saying Undefined.\r\n\r\n#### Actual Behavior\r\nText on the pop up says \"Undefined\"\r\n\r\n\r\n#### Steps to Reproduce\r\n1. Go to Contacts\r\n2. Choose Import\r\n3. Select a CSV file\r\n4. Check \"Create new records and update existing records\"\r\n5. Click the Next button\r\n\r\n#### Context\r\nImports are not refreshing the existing contacts, but instead creating new ones - It is unclear if this is related to the message / warning being given in this popup.\r\n\r\n#### Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* SuiteCRM Version used: 7.9.9\r\n* Browser name and version: Chrome 63.0.3239.132 (Official Build) (64-bit)\r\n* Environment name and version (e.g. MySQL, PHP 7): MySQL, PHP 7\r\n* Operating System and version (e.g Ubuntu 16.04): Centos\r\n![screen shot 2018-01-25 at 14 52 46](https://user-images.githubusercontent.com/35808167/35399075-5a2f62d8-01eb-11e8-9284-0e57501b7bec.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/comments/364097277","html_url":"https://github.com/salesagility/SuiteCRM/issues/5025#issuecomment-364097277","issue_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/5025","id":364097277,"user":{"login":"salesagility-davidthomson","id":25221721,"avatar_url":"https://avatars1.githubusercontent.com/u/25221721?v=4","gravatar_id":"","url":"https://api.github.com/users/salesagility-davidthomson","html_url":"https://github.com/salesagility-davidthomson","followers_url":"https://api.github.com/users/salesagility-davidthomson/followers","following_url":"https://api.github.com/users/salesagility-davidthomson/following{/other_user}","gists_url":"https://api.github.com/users/salesagility-davidthomson/gists{/gist_id}","starred_url":"https://api.github.com/users/salesagility-davidthomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salesagility-davidthomson/subscriptions","organizations_url":"https://api.github.com/users/salesagility-davidthomson/orgs","repos_url":"https://api.github.com/users/salesagility-davidthomson/repos","events_url":"https://api.github.com/users/salesagility-davidthomson/events{/privacy}","received_events_url":"https://api.github.com/users/salesagility-davidthomson/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T12:29:15Z","updated_at":"2018-02-08T12:29:15Z","author_association":"CONTRIBUTOR","body":"This appears to be due to the language \r\ncache/modules/Import/language/en_us.lang.php\r\nnot being loaded into js namespace\r\nSUGAR.language.languages\r\nUndefined appears lots of times when the button text is updated using ajax as this needs the SUGAR.Lanugage functions.\r\nI have seen it on publish / un publish as well as other places. I don't think that \r\nhttps://github.com/salesagility/SuiteCRM/pull/4317\r\nwill fix all the issues.\r\n"}}
{"actor":{"display_login":"salesagility-davidthomson"}}