Skip to content
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.

01.03.00 on DNN 7.3.4 Country and Region not populating correctly #31

Open
djamell opened this issue Mar 8, 2015 · 3 comments
Open

Comments

@djamell
Copy link

djamell commented Mar 8, 2015

Hi Philipp,

I'm Running DNN 7.3.4 and when I try to Edit or Add a User the Country/Region Address Properties do not popuplate Properly. Only one Portal (0) US English with no additional Languages installed.

Steps to reproduce problem:

  1. Edit an exiting User Account and Select the "Profile" Tab.
  2. Country displays a dropdown with Afghanistan and Region displays a dropdown with Badakhshan. (NOTE: It displays this regardless of whether the existing user has these properties initially set (United States/New Jersey) or not)
  3. Open County Dropdown and select United States
  4. The page refreshes and Region changes to an empty Textbox

Expected result:

  1. For Users with Country and Region previously set in DNN "User Accounts" Module, the values should be loaded on edit.
  2. After selecting United States for Country and list of US States should populate the Region dropdown.
@djamell
Copy link
Author

djamell commented Mar 8, 2015

Follow up:

Displaying the Country in the Grid produces a "country id" instead of the Country Name.

I'm thinking the change at 7.3.3 for localizing lists/country/regions is the culprit.

The problem also arises in the Account Registration Module.

I'm hoping this can be fixed in your common library.

@jlojko
Copy link

jlojko commented Jul 17, 2015

DNN has changed the lists for Country and Region from the value, such as US for United States, to using the EditId; i.e., 221 for United States, for the User Profile. Originally, the full text (United States) was used. Now with EditId logic will need to be changed to accommodate the revision, or just set up your own methods if compatibility with the User Profile is not needed. These changes were made in 7.3.3 (localization) to use the value (such as US) which was again changed in 7.3.4 (I believe) to using the EditId.

@inu-web
Copy link

inu-web commented Jul 28, 2015

Hello!
The module is really great and (even if I didn´t really expect that) also supports custom profile properties - That is really great!

I think my probelms seem to have the same root
Profile properties may have a default value defined in the properties definition.
This default value, defined in profile properties definition is not selected/repected
In case of text fields it shows an empty input control
In case of list fields it selects the first entry in the select control (e.g. Afghanistan for country DDL)

Any help on how to workaround/fix this behaviour to get the default value shown/selected if this property was not already filled, would be highly appreciated
thanks and kind regards
Gerald

PS: The other modules have the same issue ... so I am adding this to the other user modules too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants