JJAM2014 opened a new issue, #14475:
URL: https://github.com/apache/grails-core/issues/14475

    #10648
   Task List
   
   create a database with name "unabaseTest"
   
   Steps to Reproduce
   
   execute  ./gradlew build for testing application
   
   Expected Behaviour
   
   The call of integration test to executing checkFather method of 
Pruebaservice and result expect shoul be a list with [1, 2] value, because the 
foreing key of class child are hija = 1 and hijaPol = 2
   
   
   Actual Behaviour
   
   but the list that return the service is [1,1] because is matching with ID of 
classes of child and no with foreing key
   
   Environment Information
   
   Operating System: ubuntu 16.04 LTS
   Grails Version: 3.1.8.
   JDK Version: jdk1.8.0_121
   Container Version (If Applicable): Tomcat8
   db mysql 5.7.8
   
   Example Application
   I will attachment a zip file with application for testing
   
   
   Additional notes
   
   When execute build the integration test run and you can see in reports th 
output.
   
   BD
   I will attachement image  of db tables
   
![child2table](https://cloud.githubusercontent.com/assets/8511038/26581972/5afdc0ce-453f-11e7-9a66-97df8d97cc3c.jpg)
   
![fathertable](https://cloud.githubusercontent.com/assets/8511038/26581971/5afbff32-453f-11e7-8eba-494b0a32c999.jpg)
   
![tablechild](https://cloud.githubusercontent.com/assets/8511038/26581973/5b00a6e0-453f-11e7-9739-ae2ed7a533ae.jpg)
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to