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

DB Partition: resourcePermission records are created in the wrong company

Details

    Description

      Steps to reproduce it:

      1. Enable DB Partition with: database.partition.enabled=true
      2. Startup the server
      3. Create a new virtual instance
      4. Shutdown the server
      5. Check the companyIds in the Company table. The lower companyId value is the default one
      6. Startup the server
      7. Execute the following query in the default database schema
        select * from ResourcePermission where companyId != {Default_company_id}
        

      Results:
      You get records for the companyId associated to the new virtual instance

      Expected results:
      You don't get any record associated to the new companyId. All of them belong to the default companyId.

      Attachments

        Activity

          People

            summer.zhang Summer Zhang
            alberto.chaparro Alberto Chaparro
            Kiyoshi Lee Kiyoshi Lee
            Alberto Chaparro Alberto Chaparro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 34 weeks, 4 days ago

              Packages

                Version Package
                7.4.0 CE GA1 DXP 7,4
                7.4.13 DXP GA1
                Master