{"action":"created","issue":{"url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/5360","repository_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM","labels_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/5360/labels{/name}","comments_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/5360/comments","events_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/5360/events","html_url":"https://github.com/YetiForceCompany/YetiForceCRM/issues/5360","id":267977376,"number":5360,"title":"Incorrect request on custom module","user":{"login":"elvissaba","id":20727670,"avatar_url":"https://avatars3.githubusercontent.com/u/20727670?v=4","gravatar_id":"","url":"https://api.github.com/users/elvissaba","html_url":"https://github.com/elvissaba","followers_url":"https://api.github.com/users/elvissaba/followers","following_url":"https://api.github.com/users/elvissaba/following{/other_user}","gists_url":"https://api.github.com/users/elvissaba/gists{/gist_id}","starred_url":"https://api.github.com/users/elvissaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elvissaba/subscriptions","organizations_url":"https://api.github.com/users/elvissaba/orgs","repos_url":"https://api.github.com/users/elvissaba/repos","events_url":"https://api.github.com/users/elvissaba/events{/privacy}","received_events_url":"https://api.github.com/users/elvissaba/received_events","type":"User","site_admin":false},"labels":[{"id":255008032,"url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/labels/Subcategory::VerificationRequired","name":"Subcategory::VerificationRequired","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-24T10:24:06Z","updated_at":"2017-11-07T07:22:55Z","closed_at":"2017-11-04T18:07:04Z","author_association":"NONE","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\nWhen Extended module created:\r\n![image](https://user-images.githubusercontent.com/20727670/31937700-9d51ebe6-b8b5-11e7-9b11-fc1e84402ff5.png)\r\nAnd TestField in additional table:\r\n![image](https://user-images.githubusercontent.com/20727670/31937802-e1f57e8e-b8b5-11e7-91ac-22a957375ac9.png)\r\n\r\nOn module open, Incorrect request message apears:\r\n\r\n![image](https://user-images.githubusercontent.com/20727670/31937899-295bbe78-b8b6-11e7-9fb7-078782eb9c8e.png)\r\n\r\n\r\n#0 vendor/yetiforce/Request.php(133): App\\Purifier::purifyByType('0', 1)\r\n#1 include/runtime/Controller.php(285): App\\Request->getByType('parent', 1)\r\n#2 modules/Vtiger/views/Basic.php(30): Vtiger_View_Controller->preProcess(Object(App\\Request), false)\r\n#3 modules/Vtiger/views/Index.php(34): Vtiger_Basic_View->preProcess(Object(App\\Request), false)\r\n#4 modules/Vtiger/views/List.php(64): Vtiger_Index_View->preProcess(Object(App\\Request), false)\r\n#5 include/main/WebUI.php(258): Vtiger_List_View->preProcess(Object(App\\Request))\r\n#6 include/main/WebUI.php(189): Vtiger_WebUI->triggerPreProcess(Object(Vtiger_List_View), Object(App\\Request))\r\n#7 index.php(25): Vtiger_WebUI->process(Object(App\\Request))\r\n#8 public_html/index.php(11): require('/home/gitdevelo...')\r\n#9 {main}\r\n\r\n#0 [trace] Entering getColumnFields(Users) method ...\r\n#1 [trace] Exiting getColumnFields method ...\r\n#2 [info] Opening DB connection: mysql:host=localhost;dbname=gitdevelop_crm;port=3306 || yii\\db\\Connection::open\r\n#3 [info] INSERT INTO `u_yf_browsinghistory` (`userid`, `date`, `title`, `url`) VALUES (5, '2017-10-24 11:15:54', 'TestModule List', 'index.php?module=TestModule&view=List&mid=152&parent=0') || yii\\db\\Command::execute\r\n#4 [error] purifyByType: 0 || BadRequest\r\n#5 [error] ERR_NOT_ALLOWED_VALUE => vendor/yetiforce/Purifier.php:313\r\n\r\n#### Actual Behavior\r\n<!--- Describe the result -->\r\n\r\n#### Expected Behavior\r\n<!--- Describe what you would want the result to be -->\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.\r\n2.\r\n3.\r\n\r\n#### Your Environment\r\n<!---Describe the environment -->\r\n* YetiForce Version used:\r\n* Browser name and version:\r\n* Environment name and version:\r\n* Operating System and version:\r\n\r\n<!--- Please check on your issue from time to time, in case we have questions or need some extra information. --->\r\n"},"comment":{"url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/comments/342397080","html_url":"https://github.com/YetiForceCompany/YetiForceCRM/issues/5360#issuecomment-342397080","issue_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/5360","id":342397080,"user":{"login":"KatarzynaUlichnowska","id":10218164,"avatar_url":"https://avatars1.githubusercontent.com/u/10218164?v=4","gravatar_id":"","url":"https://api.github.com/users/KatarzynaUlichnowska","html_url":"https://github.com/KatarzynaUlichnowska","followers_url":"https://api.github.com/users/KatarzynaUlichnowska/followers","following_url":"https://api.github.com/users/KatarzynaUlichnowska/following{/other_user}","gists_url":"https://api.github.com/users/KatarzynaUlichnowska/gists{/gist_id}","starred_url":"https://api.github.com/users/KatarzynaUlichnowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KatarzynaUlichnowska/subscriptions","organizations_url":"https://api.github.com/users/KatarzynaUlichnowska/orgs","repos_url":"https://api.github.com/users/KatarzynaUlichnowska/repos","events_url":"https://api.github.com/users/KatarzynaUlichnowska/events{/privacy}","received_events_url":"https://api.github.com/users/KatarzynaUlichnowska/received_events","type":"User","site_admin":false},"created_at":"2017-11-07T07:22:55Z","updated_at":"2017-11-07T07:22:55Z","author_association":"CONTRIBUTOR","body":"Can you describe how you solved the problem? It will be helpful for the community. "}}
{"actor":{"display_login":"KatarzynaUlichnowska"}}