{"action":"created","issue":{"url":"https://api.github.com/repos/e-government-ua/i/issues/1197","repository_url":"https://api.github.com/repos/e-government-ua/i","labels_url":"https://api.github.com/repos/e-government-ua/i/issues/1197/labels{/name}","comments_url":"https://api.github.com/repos/e-government-ua/i/issues/1197/comments","events_url":"https://api.github.com/repos/e-government-ua/i/issues/1197/events","html_url":"https://github.com/e-government-ua/i/issues/1197","id":141441318,"number":1197,"title":"Сделать корректный возврат ответа при не найденной в базе заявки","user":{"login":"bvv4ik","id":4208821,"avatar_url":"https://avatars.githubusercontent.com/u/4208821?v=3","gravatar_id":"","url":"https://api.github.com/users/bvv4ik","html_url":"https://github.com/bvv4ik","followers_url":"https://api.github.com/users/bvv4ik/followers","following_url":"https://api.github.com/users/bvv4ik/following{/other_user}","gists_url":"https://api.github.com/users/bvv4ik/gists{/gist_id}","starred_url":"https://api.github.com/users/bvv4ik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvv4ik/subscriptions","organizations_url":"https://api.github.com/users/bvv4ik/orgs","repos_url":"https://api.github.com/users/bvv4ik/repos","events_url":"https://api.github.com/users/bvv4ik/events{/privacy}","received_events_url":"https://api.github.com/users/bvv4ik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/e-government-ua/i/labels/active","name":"active","color":"eb6420"},{"url":"https://api.github.com/repos/e-government-ua/i/labels/_wf-central","name":"_wf-central","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"LyashenkoGS","id":12611051,"avatar_url":"https://avatars.githubusercontent.com/u/12611051?v=3","gravatar_id":"","url":"https://api.github.com/users/LyashenkoGS","html_url":"https://github.com/LyashenkoGS","followers_url":"https://api.github.com/users/LyashenkoGS/followers","following_url":"https://api.github.com/users/LyashenkoGS/following{/other_user}","gists_url":"https://api.github.com/users/LyashenkoGS/gists{/gist_id}","starred_url":"https://api.github.com/users/LyashenkoGS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LyashenkoGS/subscriptions","organizations_url":"https://api.github.com/users/LyashenkoGS/orgs","repos_url":"https://api.github.com/users/LyashenkoGS/repos","events_url":"https://api.github.com/users/LyashenkoGS/events{/privacy}","received_events_url":"https://api.github.com/users/LyashenkoGS/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/e-government-ua/i/milestones/5","html_url":"https://github.com/e-government-ua/i/milestones/BackEnd_Java","labels_url":"https://api.github.com/repos/e-government-ua/i/milestones/5/labels","id":1063352,"number":5,"title":"BackEnd_Java","description":"Разработка кастомных общих API/REST, которые вначале позволят реализовывать  нужные нам сервисы по авторизации(и не только), а потом станут общей-единой точкой входа, включающую текущие REST Activiti","creator":{"login":"bvv4ik","id":4208821,"avatar_url":"https://avatars.githubusercontent.com/u/4208821?v=3","gravatar_id":"","url":"https://api.github.com/users/bvv4ik","html_url":"https://github.com/bvv4ik","followers_url":"https://api.github.com/users/bvv4ik/followers","following_url":"https://api.github.com/users/bvv4ik/following{/other_user}","gists_url":"https://api.github.com/users/bvv4ik/gists{/gist_id}","starred_url":"https://api.github.com/users/bvv4ik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvv4ik/subscriptions","organizations_url":"https://api.github.com/users/bvv4ik/orgs","repos_url":"https://api.github.com/users/bvv4ik/repos","events_url":"https://api.github.com/users/bvv4ik/events{/privacy}","received_events_url":"https://api.github.com/users/bvv4ik/received_events","type":"User","site_admin":false},"open_issues":54,"closed_issues":244,"state":"open","created_at":"2015-04-11T19:27:45Z","updated_at":"2016-03-18T13:33:22Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-03-17T00:33:03Z","updated_at":"2016-03-18T14:18:52Z","closed_at":null,"body":"Сейчас при вызове:\r\nhttps://test.igov.org.ua/wf/service/action/event/getHistoryEvent_Service?sID_Order=0-6975013&bAuth=true\r\n\r\nвозвращает сообщение:\r\nTransaction rolled back because it has been marked as rollback-only\r\n\r\nа должно возвращать то, что предусмотрено в эксепшине (либо не найдена, либо неверный формат, либо неверная контрольная сумма)"},"comment":{"url":"https://api.github.com/repos/e-government-ua/i/issues/comments/198379973","html_url":"https://github.com/e-government-ua/i/issues/1197#issuecomment-198379973","issue_url":"https://api.github.com/repos/e-government-ua/i/issues/1197","id":198379973,"user":{"login":"LyashenkoGS","id":12611051,"avatar_url":"https://avatars.githubusercontent.com/u/12611051?v=3","gravatar_id":"","url":"https://api.github.com/users/LyashenkoGS","html_url":"https://github.com/LyashenkoGS","followers_url":"https://api.github.com/users/LyashenkoGS/followers","following_url":"https://api.github.com/users/LyashenkoGS/following{/other_user}","gists_url":"https://api.github.com/users/LyashenkoGS/gists{/gist_id}","starred_url":"https://api.github.com/users/LyashenkoGS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LyashenkoGS/subscriptions","organizations_url":"https://api.github.com/users/LyashenkoGS/orgs","repos_url":"https://api.github.com/users/LyashenkoGS/repos","events_url":"https://api.github.com/users/LyashenkoGS/events{/privacy}","received_events_url":"https://api.github.com/users/LyashenkoGS/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T14:18:52Z","updated_at":"2016-03-18T14:18:52Z","body":"Здравствуйте Артем. Возникла проблема. \r\n написал интеграционный тест   @Transactional(noRollbackFor ={\r\n            EntityNotFoundException.class,\r\n            CRCInvalidException.class\r\n    } )\r\n    @Test\r\n    public void testGetHistoryEvent_Service() throws Exception {\r\n        actionEventService.getHistoryEventService(\"0-6975013\");\r\n    }}\r\n с @Transactional работает как надо\r\n убираю @Transactional над тестом, но добавляю над всеми методами которые используются при вызове  .getHistoryEventService(\"0-6975013\");\r\n- не работает\r\n вероятно это мой случай http://stackoverflow.com/questions/6097012/no-rollback-only-for-transaction-when-exception-occurs-in-submethod \r\nпри дебаге вылетает ексепшен на 1 же строчке .getHistoryEventService()"}}