{"action":"created","issue":{"url":"https://api.github.com/repos/lipusz/liferay-portal/issues/108","labels_url":"https://api.github.com/repos/lipusz/liferay-portal/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/lipusz/liferay-portal/issues/108/comments","events_url":"https://api.github.com/repos/lipusz/liferay-portal/issues/108/events","html_url":"https://github.com/lipusz/liferay-portal/pull/108","id":129724424,"number":108,"title":"[TECHNICAL_SUPPORT] LPS-62652 CacheModel doesn't consider primitive wrapper fields of an entity when generated with ServiceBuilder","user":{"login":"adamnagy","id":1853487,"avatar_url":"https://avatars.githubusercontent.com/u/1853487?v=3","gravatar_id":"","url":"https://api.github.com/users/adamnagy","html_url":"https://github.com/adamnagy","followers_url":"https://api.github.com/users/adamnagy/followers","following_url":"https://api.github.com/users/adamnagy/following{/other_user}","gists_url":"https://api.github.com/users/adamnagy/gists{/gist_id}","starred_url":"https://api.github.com/users/adamnagy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamnagy/subscriptions","organizations_url":"https://api.github.com/users/adamnagy/orgs","repos_url":"https://api.github.com/users/adamnagy/repos","events_url":"https://api.github.com/users/adamnagy/events{/privacy}","received_events_url":"https://api.github.com/users/adamnagy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-29T10:18:36Z","updated_at":"2016-01-29T11:22:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lipusz/liferay-portal/pulls/108","html_url":"https://github.com/lipusz/liferay-portal/pull/108","diff_url":"https://github.com/lipusz/liferay-portal/pull/108.diff","patch_url":"https://github.com/lipusz/liferay-portal/pull/108.patch"},"body":"https://issues.liferay.com/browse/LPS-62652\r\n\r\nHello Tibor,\r\n\r\nAn if an entity has a field with primitive wrappers (to have nullable values in db) then the ...CacheModel of that entity is generated wrong.\r\n\r\nThe fix is quite similar to how we check if the primary key is a primitivewrapper in the same file:\r\n<#if entity.hasPrimitivePK(false)>\r\n\r\nBest regards,\r\nÁdám\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lipusz/liferay-portal/issues/comments/176699990","html_url":"https://github.com/lipusz/liferay-portal/pull/108#issuecomment-176699990","issue_url":"https://api.github.com/repos/lipusz/liferay-portal/issues/108","id":176699990,"user":{"login":"liferay-continuous-integration","id":4502793,"avatar_url":"https://avatars.githubusercontent.com/u/4502793?v=3","gravatar_id":"","url":"https://api.github.com/users/liferay-continuous-integration","html_url":"https://github.com/liferay-continuous-integration","followers_url":"https://api.github.com/users/liferay-continuous-integration/followers","following_url":"https://api.github.com/users/liferay-continuous-integration/following{/other_user}","gists_url":"https://api.github.com/users/liferay-continuous-integration/gists{/gist_id}","starred_url":"https://api.github.com/users/liferay-continuous-integration/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liferay-continuous-integration/subscriptions","organizations_url":"https://api.github.com/users/liferay-continuous-integration/orgs","repos_url":"https://api.github.com/users/liferay-continuous-integration/repos","events_url":"https://api.github.com/users/liferay-continuous-integration/events{/privacy}","received_events_url":"https://api.github.com/users/liferay-continuous-integration/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T11:22:53Z","updated_at":"2016-01-29T11:22:53Z","body":"<h1>All tests PASSED!</h1><p>Build Time: 1 hour 51 seconds</p><h4>Base Branch:</h4><p>Branch Name: <a href=\"https://github.com/liferay/liferay-portal/tree/master\">master</a><br />Branch GIT ID: <a href=\"https://github.com/liferay/liferay-portal/commit/283d5c6d0c9c41177a73de3ad53b1042a3b6264b\">283d5c6d0c9c41177a73de3ad53b1042a3b6264b</a></p><h4>Job Summary:</h4><ul><li><a href=\"https://test-1-3.liferay.com/job/test-portal-acceptance-pullrequest(master)/2094/\">test-portal-acceptance-pullrequest(master)</a></li><li><a href=\"https://test-1-2.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/21135/\">test-portal-acceptance-pullrequest-batch(master)/compile-jsp</a></li><li><a href=\"https://test-1-8.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/24656/\">test-portal-acceptance-pullrequest-batch(master)/functional-tomcat-hypersonic/0</a></li><li><a href=\"https://test-1-8.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/24659/\">test-portal-acceptance-pullrequest-batch(master)/functional-tomcat-mysql/0</a></li><li><a href=\"https://test-1-14.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/12687/\">test-portal-acceptance-pullrequest-batch(master)/functional-tomcat-mysql/1</a></li><li><a href=\"https://test-1-2.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/21137/\">test-portal-acceptance-pullrequest-batch(master)/functional-tomcat-mysql/2</a></li><li><a href=\"https://test-1-11.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/13256/\">test-portal-acceptance-pullrequest-batch(master)/functional-tomcat-mysql/3</a></li><li><a href=\"https://test-1-20.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/12478/\">test-portal-acceptance-pullrequest-batch(master)/functional-tomcat-mysql/4</a></li><li><a href=\"https://test-1-1.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/20886/\">test-portal-acceptance-pullrequest-batch(master)/functional-tomcat-mysql/5</a></li><li><a href=\"https://test-1-5.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/21040/\">test-portal-acceptance-pullrequest-batch(master)/functional-tomcat-mysql/6</a></li><li><a href=\"https://test-1-16.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/13966/\">test-portal-acceptance-pullrequest-batch(master)/functional-tomcat-mysql/7</a></li><li><a href=\"https://test-1-19.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/10315/\">test-portal-acceptance-pullrequest-batch(master)/functional-tomcat-mysql/8</a></li><li><a href=\"https://test-1-13.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/16894/\">test-portal-acceptance-pullrequest-batch(master)/integration-hypersonic</a></li><li><a href=\"https://test-1-14.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/12688/\">test-portal-acceptance-pullrequest-batch(master)/integration-mysql</a></li><li><a href=\"https://test-1-11.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/13257/\">test-portal-acceptance-pullrequest-batch(master)/integration-postgresql</a></li><li><a href=\"https://test-1-15.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/16284/\">test-portal-acceptance-pullrequest-batch(master)/modules-integration-hypersonic</a></li><li><a href=\"https://test-1-9.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/13984/\">test-portal-acceptance-pullrequest-batch(master)/modules-integration-mysql</a></li><li><a href=\"https://test-1-8.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/24662/\">test-portal-acceptance-pullrequest-batch(master)/modules-integration-postgresql</a></li><li><a href=\"https://test-1-10.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/14096/\">test-portal-acceptance-pullrequest-batch(master)/modules-unit</a></li><li><a href=\"https://test-1-5.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/21041/\">test-portal-acceptance-pullrequest-batch(master)/plugins-compile</a></li><li><a href=\"https://test-1-5.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/21042/\">test-portal-acceptance-pullrequest-batch(master)/portal-web</a></li><li><a href=\"https://test-1-14.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/12689/\">test-portal-acceptance-pullrequest-batch(master)/ruby-sass-compiler</a></li><li><a href=\"https://test-1-20.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/12479/\">test-portal-acceptance-pullrequest-batch(master)/service-builder</a></li><li><a href=\"https://test-1-11.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/13258/\">test-portal-acceptance-pullrequest-batch(master)/tck</a></li><li><a href=\"https://test-1-4.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/24862/\">test-portal-acceptance-pullrequest-batch(master)/unit</a></li><li><a href=\"https://test-1-8.liferay.com/job/test-portal-acceptance-pullrequest-source(master)/2100/\">test-portal-acceptance-pullrequest-source(master)</a></li></ul><h5>For more details click <a href=\"https://test-1-3.liferay.com//userContent/jobs/test-portal-acceptance-pullrequest(master)/builds/2094/jenkins-report.html\">here</a>.</h5>"}}