Olivier Heintz commented on OFBIZ-10969:

In the HR test scenario, I start by create an employee and after an employment, 
so all works !

In the recruitment test scenario I will create a Party (without role EMPLOYEE) 
and after selection process I will test createEmployment to check if it do the 
EMPLOYEE role creation.

For now, I have added in the createEmployment service the call to 
ensurePartyRoleTo service, so now it works, even if before, partyTo is'nt 
associated to roleType EMPLOYEE.
And update the OFBIZ-11028 patch

Jacques, thank you for the test.

> Unable to create Employments
> ----------------------------
>                 Key: OFBIZ-10969
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10969
>             Project: OFBiz
>          Issue Type: Bug
>          Components: humanres
>    Affects Versions: Trunk
>            Reporter: Arpit Mor
>            Assignee: Jacques Le Roux
>            Priority: Major
>         Attachments: Image1.png
> Steps to regenerate:
>  # Login to the URL: 
> [https://demo-trunk.ofbiz.apache.org/humanres/control/main]
>  # Click on Employments
>  # Click on New Employments
>  # Click on Create
> Actual: Error message is displayed. Please refer attachment: Image1

This message was sent by Atlassian JIRA

Reply via email to