Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-123628

As an administrator, I want to pre-populate countries and regions used by both Portal and Commerce

    Details

      Description

      DESCRIPTION

      This ticket means to provide a way for consolidating Commerce's and Portal's Countries and Regions lists. There are four use cases to consider:

      1. Customer has a fresh installation.
      2. Customer is upgrading and has Portal and Commerce including Minium Demo Pack
      3. Customer is upgrading, has Portal and Commerce, but empty Commerce tables (one very likely case is because they don't have Minium)
      4. Customer is upgrading, has Portal and Commerce without Minium, but their Commerce tables are populated with their own values.

      FUNCTIONAL REQUIREMENTS

      The following logic should cover all the mentioned use cases.

      Fresh Installation:

      1. Load default list of Countries and Regions (attached).

      Upgrade:

      1. Drop Portal’s Country and Region tables.
      2. Migrate existing Commerce’s Countries and Regions, if any (with exceptions*).
      3. Add the rest of the Countries and Regions from the default list that is missing from Portal’s Country and Region tables at this point.

       

      *Exceptions:

      • Countries:
        • Omit Macau. 
      • Regions:
        • For China, Macau and Hong Kong shall be listed as Aomen and Xianggang, respectively. 
        • Japan shall retain both its romanized and localized Region values.

        Attachments

          Activity

            People

            Assignee:
            pei-jung.lan Pei-Jung Lan
            Reporter:
            dennis.ju Dennis Ju
            Engineering Assignee:
            Pei-Jung Lan
            Recent user:
            Danielle Andrade
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package