{"action":"opened","issue":{"url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/2483","labels_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/2483/labels{/name}","comments_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/2483/comments","events_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/2483/events","html_url":"https://github.com/YetiForceCompany/YetiForceCRM/issues/2483","id":122771722,"number":2483,"title":"[PL][BUG] Próba wygenerowania PDF bez zaznaczonego rekordu","user":{"login":"florek41","id":4824588,"avatar_url":"https://avatars.githubusercontent.com/u/4824588?v=3","gravatar_id":"","url":"https://api.github.com/users/florek41","html_url":"https://github.com/florek41","followers_url":"https://api.github.com/users/florek41/followers","following_url":"https://api.github.com/users/florek41/following{/other_user}","gists_url":"https://api.github.com/users/florek41/gists{/gist_id}","starred_url":"https://api.github.com/users/florek41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florek41/subscriptions","organizations_url":"https://api.github.com/users/florek41/orgs","repos_url":"https://api.github.com/users/florek41/repos","events_url":"https://api.github.com/users/florek41/events{/privacy}","received_events_url":"https://api.github.com/users/florek41/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-17T16:36:38Z","updated_at":"2015-12-17T16:36:38Z","closed_at":null,"body":"Stworzyłem szablon PDF z wybranym przeze mnie warunkiem (Project type = internal). Wyświetlając listę rekordów widoczny jest button generowania PDF nawet kiedy żaden rekord nie został zaznaczony.\r\nPo kliknięciu jest możliwośc wyboru szablony i wygenerowania rekordu. Kończy się to fiaskiem:\r\n\r\n```\r\n#0 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/include/utils/CommonUtils.php(402): Vtiger_Deprecated::checkFileAccessForInclusion('modules/Groups/...')\r\n#1 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/include/CRMEntity.php(62): checkFileAccessForInclusion('modules/Groups/...')\r\n#2 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/vtlib/Vtiger/Functions.php(460): CRMEntity::getInstance('Groups')\r\n#3 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/vtlib/Vtiger/Functions.php(362): Vtiger_Functions::computeCRMRecordLabels('Groups', Array)\r\n#4 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/vtlib/Vtiger/Functions.php(410): Vtiger_Functions::getCRMRecordLabels('Groups', Array)\r\n#5 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/vtlib/Vtiger/Functions.php(393): Vtiger_Functions::getOwnerRecordLabels('')\r\n#6 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/include/utils/CommonUtils.php(441): Vtiger_Functions::getOwnerRecordLabel('')\r\n#7 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/modules/Vtiger/uitypes/Owner.php(31): getOwnerName('')\r\n#8 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/modules/Vtiger/models/Field.php(108): Vtiger_Owner_UIType->getDisplayValue('', false, Object(Accounts_Record_Model), true)\r\n#9 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/modules/Vtiger/models/Record.php(226): Vtiger_Field_Model->getDisplayValue('', false, Object(Accounts_Record_Model), true)\r\n#10 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/modules/Vtiger/models/PDF.php(465): Vtiger_Record_Model->getDisplayValue('assigned_user_i...', 0, true)\r\n#11 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/modules/Vtiger/models/PDF.php(336): Vtiger_PDF_Model->replaceRelatedModuleFields('nag\\xC5\\x82\\xC3\\xB3wek', '112')\r\n#12 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/modules/Vtiger/pdfs/mPDF.php(330): Vtiger_PDF_Model->getHeader()\r\n#13 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/modules/Vtiger/models/PDF.php(576): Vtiger_mPDF_Pdf->export('112', 'Project', '2', '', '')\r\n#14 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/modules/Vtiger/actions/PDF.php(88): Vtiger_PDF_Model::exportToPdf('112', 'Project', '2')\r\n#15 [internal function]: Vtiger_PDF_Action->generate(Object(Vtiger_Request))\r\n#16 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/include/runtime/Controller.php(84): call_user_func_array(Array, Array)\r\n#17 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/modules/Vtiger/actions/PDF.php(32): Vtiger_Controller->invokeExposedMethod('generate', Object(Vtiger_Request))\r\n#18 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/include/main/WebUI.php(215): Vtiger_PDF_Action->process(Object(Vtiger_Request))\r\n#19 /home/yetiforce1/domains/gitdeveloper.yetiforce.com/public_html/index.php(22): Vtiger_WebUI->process(Object(Vtiger_Request))\r\n#20 {main}\r\n```\r\n\r\n![pdf_unselected](https://cloud.githubusercontent.com/assets/4824588/11875387/a55c1424-a4e4-11e5-88c2-d3508ddf4a29.gif)\r\n"}}