Return-Path: X-Original-To: apmail-ofbiz-user-archive@www.apache.org Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3AD20182F6 for ; Mon, 8 Jun 2015 12:07:37 +0000 (UTC) Received: (qmail 85791 invoked by uid 500); 8 Jun 2015 12:07:36 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 85761 invoked by uid 500); 8 Jun 2015 12:07:36 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 85745 invoked by uid 99); 8 Jun 2015 12:07:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2015 12:07:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pierre.smits@gmail.com designates 74.125.82.46 as permitted sender) Received: from [74.125.82.46] (HELO mail-wg0-f46.google.com) (74.125.82.46) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2015 12:05:21 +0000 Received: by wgme6 with SMTP id e6so101471623wgm.2 for ; Mon, 08 Jun 2015 05:06:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=hUv9fSm1haHAnd/tNGHRn5CbVs9BT4VvCrDa4n7KWZ8=; b=bqjWTGPXan7NEIPgroZhlE/vZzzqy+JrcxDx0rbBANs4joT0lUuddLL77HXhLBfgRT gbtvDVQDwYMBv4uwouudPf0dQ/d9aj5xi7oSLFq1BkdhmcJasforc4sScUm5ev/Vx089 QtfG98tgQ8e3BK4IuiMeO8eYVz+YFsxLXPAvS0YRVwkdi9E5nZxEcsVEBIAFPGlXW5dK ayK3Cp7LnO/Y8M+kK7bmcedD9FNuu7QR2RPIGKLULr79JBcILc4OJzCRQA8xsPcGGykh 6QmfbGbI/86FNnaxygJBUxB0hOg3JrMoZEwtHm64cTIzSWdksUJlmyOfqY4qQTq+zD8J AB/Q== MIME-Version: 1.0 X-Received: by 10.194.184.140 with SMTP id eu12mr31116755wjc.78.1433765185107; Mon, 08 Jun 2015 05:06:25 -0700 (PDT) Received: by 10.27.25.212 with HTTP; Mon, 8 Jun 2015 05:06:25 -0700 (PDT) In-Reply-To: <001601d0a1eb$4be59cf0$e3b0d6d0$@paec.cl> References: <000d01d09d39$989ac180$c9d04480$@paec.cl> <5571BAD1.4000807@les7arts.com> <55736118.3000804@les7arts.com> <000001d0a189$6c7b5d40$457217c0$@paec.cl> <55754786.9010708@les7arts.com> <001601d0a1eb$4be59cf0$e3b0d6d0$@paec.cl> Date: Mon, 8 Jun 2015 14:06:25 +0200 Message-ID: Subject: Re: RV: Geo Data Set for Chile From: Pierre Smits To: user@ofbiz.apache.org Content-Type: multipart/alternative; boundary=047d7bacc2c08cbde805180078b7 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bacc2c08cbde805180078b7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You're welcome. Best regards, Pierre Smits *ORRTIZ.COM * Services & Solutions for Cloud- Based Manufacturing, Professional Services and Retail & Trade http://www.orrtiz.com On Mon, Jun 8, 2015 at 3:01 PM, Peter Arnold wrote: > Thank you both, Jaques and Pierre. > I appreciate your help!! > > Regards, > Peter > > -----Mensaje original----- > De: Jacques Le Roux [mailto:jacques.le.roux@les7arts.com] > Enviado el: lunes, 08 de junio de 2015 3:43 > Para: user@ofbiz.apache.org > Asunto: Re: RV: Geo Data Set for Chile > > Thanks Pierre, > > Committed at r1684105 > > Peter, > > Good luck with your endeavour with OFBiz, your picked the right project := ) > > Jacques > > > Le 08/06/2015 07:47, Pierre Smits a =C3=A9crit : > > Hi Peter, > > > > Following issue has been created to get this resolved in trunk: > > https://issues.apache.org/jira/browse/OFBIZ-6476 > > > > Best regards, > > > > Pierre Smits > > > > *ORRTIZ.COM * > > Services & Solutions for Cloud- > > Based Manufacturing, Professional > > Services and Retail & Trade > > http://www.orrtiz.com > > > > On Mon, Jun 8, 2015 at 3:21 AM, Peter Arnold wrote: > > > >> Dear Jaques, > >> > >> Thank you very much for your help. I added the registry as per your > >> proposal > >> and now it works fine. > >> Since I am still an OFBiz newb I will study your response in detail > because > >> I would like to understand how you found out that this was the missing > bit. > >> This will require me some time but will be helpful to overcome the > >> difficulties I am still having with the system. > >> > >> As for providing Jira and patches: > >> I have to ask you to be patient since I am not an IT engineer but have > an > >> entirely different background and at the moment I still don't know how > to > >> generate (and apply) patches. > >> However, as soon as I resolve my start up difficulties (with Eclipse, > >> OFBiz, > >> Java, and so on) rest assured that I will try to contribute the part o= f > my > >> work which is of interest to this community. > >> > >> Peter > >> > >> -----Mensaje original----- > >> De: Jacques Le Roux [mailto:jacques.le.roux@les7arts.com] > >> Enviado el: s=C3=A1bado, 06 de junio de 2015 17:08 > >> Para: user@ofbiz.apache.org > >> Asunto: Re: Geo Data Set for Chile > >> > >> Peter, > >> > >> Solution for you: > >> It's obvious if you look at the getAssociatedStateList() service > >> implementation (in Java). > >> You need to provide a CountryAddressFormat for > GeoAssocAndGeoToWithState to > >> works well. > >> Something like > >> >> requireStateProvinceId=3D"" requirePostalCode=3D"" postalCodeRegex=3D"= " > >> hasPostalCodeExt=3D"" > >> requirePostalCodeExt=3D"" addressFormat=3D""/> is enough > >> > >> All Devs, > >> I went unnoticed (a bit by Adrian at > >> > https://issues.apache.org/jira/browse/OFBIZ-4270?focusedCommentId=3D13072= 722 > >> ) > >> but I think Sascha went a bit too far by forcing CountryAddressFormat > into > >> GeoAssocAndGeoToWithState which is used into getAssociatedStateList() = at > >> http://svn.apache.org/viewvc?view=3Drevision&revision=3D1153402 > >> > >> 2 solutions: > >> * relax this constraint (will work in all cases) > >> * provide new CountryAddressFormat for contries missing (when we will > add a > >> new country could "break" again) > >> > >> Opinions? > >> > >> Jacques > >> > >> Le 05/06/2015 17:05, Jacques Le Roux a =C3=A9crit : > >>> I hope to have a look at your issue tomorrow... > >>> > >>> Jacques > >>> > >>> Le 02/06/2015 15:39, Peter Arnold a =C3=A9crit : > >>>> Hi All, > >>>> > >>>> > >>>> I am working on a new customization for Chile based on OFBiz 14.12. > >>>> > >>>> > >>>> I created a new Geo Data set for Chile containing so far the > >>>> administrative regions. > >>>> > >>>> My data set looks as follows: > >>>> > >>>> > >>>> >>>> geoName=3D"Antofagasta" geoTypeId=3D"STATE"/> > >>>> > >>>> >>>> geoName=3D"Araucan=C3=ADa" geoTypeId=3D"STATE"/> > >>>> > >>>> >>>> geoName=3D"Arica y Parinacota" geoTypeId=3D"STATE"/> > >>>> > >>>> >>>> geoName=3D"Atacama" geoTypeId=3D"STATE"/> > >>>> > >>>> >> geoName=3D"Ays=C3=A9n" > >>>> geoTypeId=3D"STATE"/> > >>>> > >>>> >> geoName=3D"Biob=C3=ADo" > >>>> geoTypeId=3D"STATE"/> > >>>> > >>>> >>>> geoName=3D"Coquimbo" geoTypeId=3D"STATE"/> > >>>> > >>>> >>>> geoName=3D"Libertador General Bernardo O'Higgins" geoTypeId=3D"STATE= "/> > >>>> > >>>> >>>> geoName=3D"Los Lagos" geoTypeId=3D"STATE"/> > >>>> > >>>> >>>> geoName=3D"Los R=C3=ADos" geoTypeId=3D"STATE"/> > >>>> > >>>> >>>> geoName=3D"Magallanes" geoTypeId=3D"STATE"/> > >>>> > >>>> >> geoName=3D"Maule" > >>>> geoTypeId=3D"STATE"/> > >>>> > >>>> >>>> geoName=3D"Regi=C3=B3n Metropolitana de Santiago" geoTypeId=3D"STATE= "/> > >>>> > >>>> >>>> geoName=3D"Tarapac=C3=A1" geoTypeId=3D"STATE"/> > >>>> > >>>> >>>> geoName=3D"Valpara=C3=ADso" geoTypeId=3D"STATE"/> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> When I set the country on following screen to Chile: > >>>> > >>>> https://127.0.0.1:8443/partymgr/control/editcontactmech?partyId=3DCo= mpa > >>>> ny > >>>> >>>> any&con > >>>> tactMechId=3D9000> &contactMechId=3D9000 > >>>> > >>>> > >>>> the dropdown for State/Province should show all Chilean regions. > >>>> However currently no region is shown and the dropdowns only value is > >>>> =E2=80=9CNo States/Provinces exist=E2=80=9D. > >>>> > >>>> > >>>> Does anybody have an idea why the dropdown is not populated with the > >>>> regions created with above data set? > >>>> > >>>> > >>>> I would appreciate your help on this issue. > >>>> > >>>> > >>>> Regards, > >>>> > >>>> Peter > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> --- > >>>> Este mensaje no contiene virus ni malware porque la protecci=C3=B3n = de > avast! > >> Antivirus est=C3=A1 activa. > >>>> http://www.avast.com > >>>> > >> > >> --- > >> Este mensaje no contiene virus ni malware porque la protecci=C3=B3n de= avast! > >> Antivirus est=C3=A1 activa. > >> https://www.avast.com/antivirus > >> > >> > > > --- > Este mensaje no contiene virus ni malware porque la protecci=C3=B3n de av= ast! > Antivirus est=C3=A1 activa. > https://www.avast.com/antivirus > > --047d7bacc2c08cbde805180078b7--