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 (Closed) (JIRA)" <ji...@apache.org> on 2012/04/08 07:28:30 UTC

[jira] [Closed] (OFBIZ-4787) Party Manager Default Country in Update

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

Jacques Le Roux closed OFBIZ-4787.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
                   Release Branch 11.04
         Assignee: Jacques Le Roux

Thanks for detailled report Tom,

I did not use your patch. 2 years ago I introduced setDependentDropdownValuesJs.ftl to handle Dependent Dropdowns. But I did not provide any examples of its uses in Freemarker templates. 

In trunk at revision 1310953 I have committed a fix for the issue you reported using setDependentDropdownValuesJs.ftl.
Also in R11.04 at r1310955.

I would really appreciate if you could use the same and fix also the other EditContactMech.ftl (eCommerce and Facility). It will also a good opportunity for you to learn how to use it (it's quite simple actually see [r1310953|http://svn.apache.org/viewvc?view=revision&revision=1310953]



                
> Party Manager Default Country in Update
> ---------------------------------------
>
>                 Key: OFBIZ-4787
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4787
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: SVN trunk
>         Environment: demo-trunk
>            Reporter: Tom Burns
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Release Branch 11.04, SVN trunk
>
>         Attachments: OFBIZ-4787 defaultCountryGeoId.patch
>
>
> In Party Manager > Profile > Contact Information > Update  the "Country" drop down always defaults to "United States". 
> This is misleading if the Country is not "United States". 
> If a user were to change some other address element he/she would have to also re-set "Country" to keep it from being changed to "United States". 
> To reproduce:
> In Party Manager lookup a party with a "Postal Address" say "DemoSupplier"*
> In Contact Information > Postal Address Click "Update"
> In the Country field select any country but "United States" say Switzerland
> Click "Save"
> Note - 
> Expect drop down default after save = "Switzerland"
> Actual drop down default after save = "United States"
> Click "Go Back"
> Expect "Postal Address" country = "Switzerland"
> Actual "Postal Address" country = "Switzerland"
> Click 
> Click "Update"
> Expect drop down default to be "Switzerland"
> Actual "United States"
> * Note: 
> Select any party but Company.  
> It's Country can not be changed because a foreign missing parameter on a call to updateEftAccount.
> This may be a separate issue. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira