You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2010/09/09 17:09:32 UTC

[jira] Closed: (OFBIZ-3928) Error while creating a facilityContactMech if no purpose is given

     [ https://issues.apache.org/jira/browse/OFBIZ-3928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-3928.
----------------------------------

    Fix Version/s: SVN trunk
       Resolution: Fixed

Thanks Gil,

Yes it makes sense indeed if we don't want to change the service definition (ie make contactMechPurposeTypeId mandatory). And to answer your question, it's not a contact mech which is created but a FacilityContactMechPurpose and of course there contactMechPurposeId is part of the primary key (hence its name BTW).

Your patch is in trunk at r995453  


> Error while creating a facilityContactMech if no purpose is given
> -----------------------------------------------------------------
>
>                 Key: OFBIZ-3928
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3928
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: linux, ofbiz trunk
>            Reporter: Gil Portenseigne
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3928.diff
>
>
> When creating a new facility contactMech, a facilityContactMechPurpose is automatically created, even if there is no contactMechPurposeTypeId is given in parameters.
> The problem is that its impossible to create a contact mech without purpose (is that normal ?), and contactMechPurposeTypeId is optional in service parameters.
> A patch is povided to correct the issue

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.