JujaLabs / itevents

Resource to subscribe on it events
Apache License 2.0
7 stars 5 forks source link

Пофиксить тест UserMapperDbTest.shouldAddUser() для issue129 #138

Closed IgorMaksymov closed 8 years ago

IgorMaksymov commented 8 years ago

Выдает такую ошибку: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: Error getting generated key or setting result to parameter object. Cause: org.apache.ibatis.binding.BindingException: Parameter 'id' not found. Available parameters are [password, user, param1, param2]

Проблема в маппере org.itevents.dao.mybatis.mapper.UserMapper#addUser не удается получить поле Role.id если передавать только 1 параметр в маппер(@Param или вообще без аннотации) то Майбатис получает значение нормально.

vaa25 commented 8 years ago

Fixed in #134

vkuchyn commented 8 years ago

@vaa25 should @AndriyBaibak close this issue as duplicate?

vaa25 commented 8 years ago

@vkuchyn I fixed this bug in #134 that already in master, but @IgorMaksymov reopened it. I guess he broked this test again. Maybe he failed merge with master, I didn't penetrate.

vkuchyn commented 8 years ago

@IgorMaksymov Is there some reason for reopen?

IgorMaksymov commented 8 years ago

@vkuchyn i remembered that you are closing issues.

vkuchyn commented 8 years ago

@IgorMaksymov I see. So, next time - leave a comment please - @ pls close this issue