{"action":"created","issue":{"url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/5348","repository_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM","labels_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/5348/labels{/name}","comments_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/5348/comments","events_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/5348/events","html_url":"https://github.com/YetiForceCompany/YetiForceCRM/issues/5348","id":266747513,"number":5348,"title":"$this->record->getModule(); is not same to $recordModel->getModule(); ","user":{"login":"migoi","id":25817094,"avatar_url":"https://avatars3.githubusercontent.com/u/25817094?v=4","gravatar_id":"","url":"https://api.github.com/users/migoi","html_url":"https://github.com/migoi","followers_url":"https://api.github.com/users/migoi/followers","following_url":"https://api.github.com/users/migoi/following{/other_user}","gists_url":"https://api.github.com/users/migoi/gists{/gist_id}","starred_url":"https://api.github.com/users/migoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migoi/subscriptions","organizations_url":"https://api.github.com/users/migoi/orgs","repos_url":"https://api.github.com/users/migoi/repos","events_url":"https://api.github.com/users/migoi/events{/privacy}","received_events_url":"https://api.github.com/users/migoi/received_events","type":"User","site_admin":false},"labels":[{"id":157832325,"url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/labels/Category::Bug","name":"Category::Bug","color":"d93f0b","default":false},{"id":252766992,"url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/labels/Subcategory::HighPriority","name":"Subcategory::HighPriority","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"login":"mariuszkrzaczkowski","id":10198654,"avatar_url":"https://avatars2.githubusercontent.com/u/10198654?v=4","gravatar_id":"","url":"https://api.github.com/users/mariuszkrzaczkowski","html_url":"https://github.com/mariuszkrzaczkowski","followers_url":"https://api.github.com/users/mariuszkrzaczkowski/followers","following_url":"https://api.github.com/users/mariuszkrzaczkowski/following{/other_user}","gists_url":"https://api.github.com/users/mariuszkrzaczkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/mariuszkrzaczkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariuszkrzaczkowski/subscriptions","organizations_url":"https://api.github.com/users/mariuszkrzaczkowski/orgs","repos_url":"https://api.github.com/users/mariuszkrzaczkowski/repos","events_url":"https://api.github.com/users/mariuszkrzaczkowski/events{/privacy}","received_events_url":"https://api.github.com/users/mariuszkrzaczkowski/received_events","type":"User","site_admin":false},"assignees":[{"login":"mariuszkrzaczkowski","id":10198654,"avatar_url":"https://avatars2.githubusercontent.com/u/10198654?v=4","gravatar_id":"","url":"https://api.github.com/users/mariuszkrzaczkowski","html_url":"https://github.com/mariuszkrzaczkowski","followers_url":"https://api.github.com/users/mariuszkrzaczkowski/followers","following_url":"https://api.github.com/users/mariuszkrzaczkowski/following{/other_user}","gists_url":"https://api.github.com/users/mariuszkrzaczkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/mariuszkrzaczkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariuszkrzaczkowski/subscriptions","organizations_url":"https://api.github.com/users/mariuszkrzaczkowski/orgs","repos_url":"https://api.github.com/users/mariuszkrzaczkowski/repos","events_url":"https://api.github.com/users/mariuszkrzaczkowski/events{/privacy}","received_events_url":"https://api.github.com/users/mariuszkrzaczkowski/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/milestones/22","html_url":"https://github.com/YetiForceCompany/YetiForceCRM/milestone/22","labels_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/milestones/22/labels","id":2678493,"number":22,"title":"YetiForce 4.3","description":"","creator":{"login":"mariuszkrzaczkowski","id":10198654,"avatar_url":"https://avatars2.githubusercontent.com/u/10198654?v=4","gravatar_id":"","url":"https://api.github.com/users/mariuszkrzaczkowski","html_url":"https://github.com/mariuszkrzaczkowski","followers_url":"https://api.github.com/users/mariuszkrzaczkowski/followers","following_url":"https://api.github.com/users/mariuszkrzaczkowski/following{/other_user}","gists_url":"https://api.github.com/users/mariuszkrzaczkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/mariuszkrzaczkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariuszkrzaczkowski/subscriptions","organizations_url":"https://api.github.com/users/mariuszkrzaczkowski/orgs","repos_url":"https://api.github.com/users/mariuszkrzaczkowski/repos","events_url":"https://api.github.com/users/mariuszkrzaczkowski/events{/privacy}","received_events_url":"https://api.github.com/users/mariuszkrzaczkowski/received_events","type":"User","site_admin":false},"open_issues":41,"closed_issues":496,"state":"open","created_at":"2017-08-03T08:38:59Z","updated_at":"2017-10-24T22:31:26Z","due_on":"2017-11-06T08:00:00Z","closed_at":null},"comments":8,"created_at":"2017-10-19T07:39:30Z","updated_at":"2017-10-25T06:41:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!--- Before you create a new issue, please check out our [manual] (https://yetiforce.com/en/github/issues/126-issues.html) --->\r\n\r\n#### Issue\r\n<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug. Descriptions can be provided in English or Polish (remember to add [PL] for Polish in the title). -->\r\n\r\nYou changed (https://github.com/YetiForceCompany/YetiForceCRM/commit/b5aa48f87924cf8954a736cc4bfaa95a7c76a06f) in \"modules/Vtiger/views/Edit.php\":\r\n~~~php\r\n -\t\t$moduleModel = $recordModel->getModule();\r\n+\t\t$moduleModel = $this->record->getModule()\r\n~~~\r\n\r\nbut some line before $recordModel is created various times depending on variables are set. Unfortunately \"$this->record->\" can be null at that location so the code will prevent editing data (new record). \r\n\r\n\r\n\r\n\r\n#### Actual Behavior\r\n<!--- Describe the result -->\r\n\" Uncaught Error: Call to a member function getModule() on null \"\r\n\r\n#### Expected Behavior\r\n<!--- Describe what you would want the result to be -->\r\nNo error :)\r\n\r\n#### How to trigger the error\r\n<!--- If possible, please make a video using [ScreenToGif] (https://screentogif.codeplex.com/) or any other program used for recording actions from your desktop. -->\r\n1. e.g. create new user\r\n"},"comment":{"url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/comments/339230444","html_url":"https://github.com/YetiForceCompany/YetiForceCRM/issues/5348#issuecomment-339230444","issue_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/5348","id":339230444,"user":{"login":"migoi","id":25817094,"avatar_url":"https://avatars3.githubusercontent.com/u/25817094?v=4","gravatar_id":"","url":"https://api.github.com/users/migoi","html_url":"https://github.com/migoi","followers_url":"https://api.github.com/users/migoi/followers","following_url":"https://api.github.com/users/migoi/following{/other_user}","gists_url":"https://api.github.com/users/migoi/gists{/gist_id}","starred_url":"https://api.github.com/users/migoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migoi/subscriptions","organizations_url":"https://api.github.com/users/migoi/orgs","repos_url":"https://api.github.com/users/migoi/repos","events_url":"https://api.github.com/users/migoi/events{/privacy}","received_events_url":"https://api.github.com/users/migoi/received_events","type":"User","site_admin":false},"created_at":"2017-10-25T06:41:38Z","updated_at":"2017-10-25T06:41:38Z","author_association":"CONTRIBUTOR","body":"confirmed - working again.\r\n\r\nThank you!"}}
{"actor":{"display_login":"migoi"}}