You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Krzysztof Podejma (JIRA)" <ji...@apache.org> on 2006/11/04 16:07:16 UTC

[jira] Created: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Cannot create New Contact Infotmatin In Facility Manager Application
--------------------------------------------------------------------

                 Key: OFBIZ-426
                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
    Affects Versions: SVN trunk
            Reporter: Krzysztof Podejma


Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button

The Following Errors Occurred:

    * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress

my investigation 
file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
"org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-426?page=comments#action_12447183 ] 
            
Ashish Vijaywargiya commented on OFBIZ-426:
-------------------------------------------

The David's comment was from the file : org/ofbiz/party/contact/ContactMechMapProcs.xml in the rev : 464511

Regards
Ashish Vijaywargiya

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>         Attachments: FacilityContactMechServices.patch
>
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Posted by "Krzysztof Podejma (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-426?page=comments#action_12448978 ] 
            
Krzysztof Podejma commented on OFBIZ-426:
-----------------------------------------

As You can see the FacilityContactMechServices.xml file is not internationalized.
I didnt want to decide where to place strings for this file.

My proposal is to place it into ProductUiLabels.properties file.
If you agree with me just apply my two next patches.

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>         Assigned To: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: ContactMechServices.patch, FacilityContactMechServices.patch, FacilityContactMechServices.patch
>
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Updated: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Posted by "Krzysztof Podejma (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-426?page=all ]

Krzysztof Podejma updated OFBIZ-426:
------------------------------------

    Attachment: ContactMechServices.patch

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>         Assigned To: Jacopo Cappellato
>         Attachments: ContactMechServices.patch, FacilityContactMechServices.patch
>
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Posted by "Krzysztof Podejma (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-426?page=comments#action_12447535 ] 
            
Krzysztof Podejma commented on OFBIZ-426:
-----------------------------------------

Hello again,
Thank you for your quick reply,unfortunately your patch didn't help me.
I made my own changes according to those from PartyContactMechServices.xml and now it works well.
I think there is another issue with locale because non-english parameters passed to createFacilityContactMech are damaged,but the same parameters passed to updateFacilityContactMech works.
I'm attaching my patches.

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>         Assigned To: Jacopo Cappellato
>         Attachments: ContactMechServices.patch, FacilityContactMechServices.patch
>
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Updated: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-426?page=all ]

Ashish Vijaywargiya updated OFBIZ-426:
--------------------------------------

    Attachment: FacilityContactMechServices.patch

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>         Attachments: FacilityContactMechServices.patch
>
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Posted by "Krzysztof Podejma (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-426?page=comments#action_12448846 ] 
            
Krzysztof Podejma commented on OFBIZ-426:
-----------------------------------------

There is one more thing.
If you want apply my patches for this bug, You have to add FacilityContactMechNotFoundCannotDelete into resource FacilityUiLabels also.

in FacilityContactMechServices.xml i have used:
  <if-empty field-name="facilityContactMech">
            <add-error>
                <fail-property resource="FacilityUiLabels" property="FacilityContactMechNotFoundCannotDelete"/>
            </add-error>
            <return/>
        </if-empty>

insted
        <if-empty field-name="facilityContactMech">
            <add-error><fail-message message="ERROR: Could not delete contact info (facility contact mech not found)"/></add-error>
            <return/>
        </if-empty>

Regards
Krzysztof Podejma

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>         Assigned To: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: ContactMechServices.patch, FacilityContactMechServices.patch, FacilityContactMechServices.patch
>
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Assigned: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Posted by "Jacopo Cappellato (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-426?page=all ]

Jacopo Cappellato reassigned OFBIZ-426:
---------------------------------------

    Assignee: Jacopo Cappellato

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>         Assigned To: Jacopo Cappellato
>         Attachments: FacilityContactMechServices.patch
>
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-426?page=comments#action_12448864 ] 
            
Jacques Le Roux commented on OFBIZ-426:
---------------------------------------

Thanks Krzysztof,

But why did not you put it it in the patch before, this kind of thing is not easy to see ;o)

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>         Assigned To: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: ContactMechServices.patch, FacilityContactMechServices.patch, FacilityContactMechServices.patch
>
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-426?page=comments#action_12447179 ] 
            
Ashish Vijaywargiya commented on OFBIZ-426:
-------------------------------------------

Hey Podejma,

Your investigation was correct.
Please read the comment of David from the Rev : 464511.(These are the comments about why he has removed that code)
******************************
A number of cleanups (including formatting) in the PartyContactMech stuff; this stuff is still a total mess and needs a lot more cleanup, especially along the lines of some changes I made here like using set-service-fields instead of manually doing all the work in a separate file using a call-simple-map-processor, which causes much more complex code and doesn't automatically handle new fields, and all sorts of undesirable things; this isn't what a simple-map-processor is meant to be used for
******************************
I removed that simple-map-processor call and used the <set> tag instead.
Now I am submitting the patch for this.
Please anybody review my patch and If there is a better way to resolve this error then please let me know.

Regards
Ashish Vijaywargiya

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-426?page=comments#action_12447161 ] 
            
Ashish Vijaywargiya commented on OFBIZ-426:
-------------------------------------------

Hey,

Which version of Ofbiz are you using ??
I didn't get any error message in creating email address.
Please try the Online demo of Opentaps : (username/password - admin/ofbiz)
https://demo.opensourcestrategies.com:8445/ordermgr/control/main

Regards
Ashish Vijaywargiya

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Posted by "Krzysztof Podejma (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-426?page=comments#action_12447168 ] 
            
Krzysztof Podejma commented on OFBIZ-426:
-----------------------------------------

Hello,
I know opentaps release version is ok but I'm using OFBiz SVN version.
You can reproduce this bug here:
https://demo.opensourcestrategies.com:8446/facility/control/main

today's weakly build (ofbiz_opentaps_470749.zip) has this problem too

Regards
Krzysztof Podejma

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Closed: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-426?page=all ]

Jacques Le Roux closed OFBIZ-426.
---------------------------------

    Fix Version/s: SVN trunk
       Resolution: Fixed
         Assignee: Jacques Le Roux  (was: Jacopo Cappellato)

Thanks Krzysztof and Ashish for these patches.

It's in OFBiz rev 473451.

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>         Assigned To: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: ContactMechServices.patch, FacilityContactMechServices.patch, FacilityContactMechServices.patch
>
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Updated: (OFBIZ-426) Cannot create New Contact Infotmatin In Facility Manager Application

Posted by "Krzysztof Podejma (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-426?page=all ]

Krzysztof Podejma updated OFBIZ-426:
------------------------------------

    Attachment: FacilityContactMechServices.patch

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>         Assigned To: Jacopo Cappellato
>         Attachments: ContactMechServices.patch, FacilityContactMechServices.patch, FacilityContactMechServices.patch
>
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech] process [problem invoking the [createContactMech] service with the map named [context] containing [{locale=pl, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03 11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 11:32:14.834(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]: The following required parameter is missing: [createContactMech.contactMechTypeId]] calling service createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in svn trunk) so maps cannot be copied

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira