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

Importing custom fields LAR with "Delete Application Data" checked wipes all custom fields across virtual instances

    Details

      Description

      Steps to Reproduce

      1. Launch a portal with a secondary virtual instance (use /etc/hosts do create new hostnames);
      2. On Instance 1, create any Custom Field named AAA;
      3. On Instance 2, create any Custom Field named BBB;
      4. Export the Custom Fields on Instance 2 as a LAR file;
      5. Import the recently exported Custom Field LAR file checking the option "Delete Application Data Before Importing".

      Expected Results

      The Custom Fields on Instance 2 are deleted and recreated from the LAR file.

      Actual Results

      The Custom Fields of ALL virtual instances are deleted. The Custom Fields from instance 2 are recreated from the LAR file.

      Additional Remarks

      Considering the virtual instances should be independent to each other, performing an action in a virtual instance that is not even the default one that could destroy other instances data jeopardizes the multi-tenant capability the feature was designed for.

        Attachments

          Activity

            People

            Assignee:
            joyce.wang Joyce Wang
            Reporter:
            cleydyr.albuquerque Cleydyr Albuquerque
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Cleydyr Albuquerque
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              22 weeks, 1 day ago

                Packages

                Version Package
                7.2.10 DXP FP9
                7.2.X
                7.3.X
                7.3.5 CE GA6
                7.3.10 DXP GA1
                Master