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

Disable the copy as new import strategy option in those portlets which don't support it

    Details

      Description

      Directly from Mike:
      (1) Site and Layout templates supports disabling of data mirroring (i.e. support copy as new)
      (2) Organization, Role, PasswordPolicy, UserGroup always uses data mirroring (i.e. don't support copy as new)

      Maybe we need to add a method in the DataHandlers called supportsCopyAsNew...

      Steps to test:

      1. Go to Control Panel > Roles
      2. Click the wrench icon and select Export/Import
      3. Leave all options unchanged and click Export. Save the LAR file
      4. Now select the Import tab and drop the LAR file. Click Continue and Continue again.
      5. Under the Update Data section, the Copy as New option should be disabled, and the help message is "Not Supported"

      Repeat the same checking for Organization, PasswordPolicy and UserGroup. For any other portlets, the Copy as New option is enabled.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 5 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.0 CE B2