Re: svn commit: r1175135 - /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1175135 - /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy

Amit Sharma-10
Hello Jacques,

Inline:-

> +    context.partyId = party.partyId
> +    if ("Person".equals(party.partyTypeId)) {
> +        person = delegator.findByPrimaryKey("Person", [partyId : party.partyId]);
>
I think partyTypeId check should be ("PERSON".equals(party.partyTypeId))
instead of  ("Person".equals(party.partyTypeId))

--

Thanks and Regards
Amit Sharma
HotWax Media
http://www.hotwaxmedia.com



Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1175135 - /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy

Jacques Le Roux
Administrator
Opps right AMIT...

Thanks

Jacques

From: "Amit Sharma" <[hidden email]>

> Hello Jacques,
>
> Inline:-
>
>> +    context.partyId = party.partyId
>> +    if ("Person".equals(party.partyTypeId)) {
>> +        person = delegator.findByPrimaryKey("Person", [partyId : party.partyId]);
>>
> I think partyTypeId check should be ("PERSON".equals(party.partyTypeId))
> instead of  ("Person".equals(party.partyTypeId))
>
> --
>
> Thanks and Regards
> Amit Sharma
> HotWax Media
> http://www.hotwaxmedia.com
>
>
>