{"action":"created","issue":{"url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/1029","labels_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/1029/labels{/name}","comments_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/1029/comments","events_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/1029/events","html_url":"https://github.com/YetiForceCompany/YetiForceCRM/issues/1029","id":86097774,"number":1029,"title":"Errors after migration","user":{"login":"vovpff","id":8545791,"avatar_url":"https://avatars.githubusercontent.com/u/8545791?v=3","gravatar_id":"","url":"https://api.github.com/users/vovpff","html_url":"https://github.com/vovpff","followers_url":"https://api.github.com/users/vovpff/followers","following_url":"https://api.github.com/users/vovpff/following{/other_user}","gists_url":"https://api.github.com/users/vovpff/gists{/gist_id}","starred_url":"https://api.github.com/users/vovpff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovpff/subscriptions","organizations_url":"https://api.github.com/users/vovpff/orgs","repos_url":"https://api.github.com/users/vovpff/repos","events_url":"https://api.github.com/users/vovpff/events{/privacy}","received_events_url":"https://api.github.com/users/vovpff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/labels/more%20info%20required","name":"more info required","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"bpabiszczak","id":10197525,"avatar_url":"https://avatars.githubusercontent.com/u/10197525?v=3","gravatar_id":"","url":"https://api.github.com/users/bpabiszczak","html_url":"https://github.com/bpabiszczak","followers_url":"https://api.github.com/users/bpabiszczak/followers","following_url":"https://api.github.com/users/bpabiszczak/following{/other_user}","gists_url":"https://api.github.com/users/bpabiszczak/gists{/gist_id}","starred_url":"https://api.github.com/users/bpabiszczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpabiszczak/subscriptions","organizations_url":"https://api.github.com/users/bpabiszczak/orgs","repos_url":"https://api.github.com/users/bpabiszczak/repos","events_url":"https://api.github.com/users/bpabiszczak/events{/privacy}","received_events_url":"https://api.github.com/users/bpabiszczak/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-06-08T09:20:10Z","updated_at":"2015-06-09T01:54:54Z","closed_at":null,"body":"Last week I established fresh apache 2.4 with PHP 5.6.9 an MySQL server and installed Yetiforce system. I like it too much!\r\n\r\nFor this time I have vtiger 6.2.0. This system works well but I need features what has YetiForce. Yestrday I made migration from Vtiger 6.2.0 to Yetiforce 2.0.0. Migration was succesfull, but after login window I has only this error: {\"success\":false,\"error\":{\"code\":\"result is not an object\",\"message\":\"result is not an object\"}}\r\n\r\nAny ideas how to solve it?"},"comment":{"url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/comments/110196279","html_url":"https://github.com/YetiForceCompany/YetiForceCRM/issues/1029#issuecomment-110196279","issue_url":"https://api.github.com/repos/YetiForceCompany/YetiForceCRM/issues/1029","id":110196279,"user":{"login":"waran70","id":6852348,"avatar_url":"https://avatars.githubusercontent.com/u/6852348?v=3","gravatar_id":"","url":"https://api.github.com/users/waran70","html_url":"https://github.com/waran70","followers_url":"https://api.github.com/users/waran70/followers","following_url":"https://api.github.com/users/waran70/following{/other_user}","gists_url":"https://api.github.com/users/waran70/gists{/gist_id}","starred_url":"https://api.github.com/users/waran70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waran70/subscriptions","organizations_url":"https://api.github.com/users/waran70/orgs","repos_url":"https://api.github.com/users/waran70/repos","events_url":"https://api.github.com/users/waran70/events{/privacy}","received_events_url":"https://api.github.com/users/waran70/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T01:54:54Z","updated_at":"2015-06-09T01:54:54Z","body":"Here is the same. Migration dont work. Got two friends who tried migrate 6.2  - it not works.\r\nUpdated, create, delete sql's needs to be revised (especially update and create). I posted to email list following:\r\nmigration script VT602_to_YT_create.sql contains following script:\r\n\r\nCREATE TABLE IF NOT EXISTS `vtiger_calculationsproductrel` (\r\n  `id` int(19) DEFAULT NULL,\r\n  `productid` int(19) DEFAULT NULL,\r\n  `sequence_no` int(4) DEFAULT NULL,\r\n  `quantity` decimal(25,3) DEFAULT NULL,\r\n  `listprice` decimal(27,8) DEFAULT NULL,\r\n  `comment` text,\r\n  `description` text,\r\n  `lineitem_id` int(11) NOT NULL AUTO_INCREMENT,\r\n  `incrementondel` int(19) DEFAULT NULL,\r\n  `rbh` decimal(10,2) DEFAULT NULL,\r\n  `purchase` decimal(10,2) DEFAULT NULL,\r\n  `margin` decimal(10,2) DEFAULT NULL,\r\n  `marginp` decimal(10,2) DEFAULT NULL,\r\n  PRIMARY KEY (`lineitem_id`),\r\n  KEY `calculationsproductrel_id_idx` (`id`),\r\n  KEY `calculationsproductrel_productid_idx` (`productid`),\r\n  CONSTRAINT `vtiger_calculationsproductrel_ibfk_1` FOREIGN KEY (`id`) REFERENCES `vtiger_calculations` (`calculationsid`) ON DELETE CASCADE\r\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\r\n\r\nBut it don't have any script creating table vtiger_calculations !\r\nso the migraion HAVE to fail do to unable to create constraint and foreign key.\r\n\r\nIt will be worth to look at migration scripts again."}}