The createDataResourceRole service has a partyId attribute as optional but its implementation method does not check if the partyId exists before creating a DataResourceRole value. The ensurePartyRole service also has a partyId attribute as optional but its implementation method does not check if the partyId exists before creating a PartyRole value. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446876 13f79535-47bb-0310-9956-ffa450edef68