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

How much effort is required to migrate commerce accounts to portal accounts using a "bridge" in the service layer?

    Details

      Description

      Notes:

      CommerceAccounts have a few different fields not present in portal Accounts:

      • email (emailAddress)
      • active

      Including all workflow fields:

      • expirationDate
      • lastPublishDate
      • statusByUserId
      • statusByUserName
      • statusDate

      Conclusions

      • Add "email" field as "emailAddress" to portal Accounts. This will also enable compatibility with Commerce's business rules for guest account checkout.

      Questions:

      • Should we include all the workflow fields? We already have the status field, and it is effectively being used as an active field. We will not include all workflow fields at this point.
      • Is there a case for having an account that has a status of approved but active is false, or vice versa? Seems like it's not a strong or common use-case.
      • Is it possible to rely just on status for workflow compatibility? At the moment, we will continue using status for determining 'active'

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              drew.brokke Drew Brokke
              Reporter:
              drew.brokke Drew Brokke
              Engineering Assignee:
              Drew Brokke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package