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

Old created ScopedConfigurationManager configurations aren't reloaded

Details

    Description

      To solve LPS-92244, LPS-93457 (meaning upgrading org.apache.felix.fileinstall) was created. After that newly created configurations are working as expected, but previous ones aren't. This is because the old created configurations are missing the service.bundleLocation="?" in the Configuration.dictionary field.

      Steps to Reproduce:

      1. In a master version previous that doesn't contain LPS-93457 do the following:
        1. Create an OSGi configuration file named com.liferay.portal.upload.internal.configuration.UploadServletRequestConfiguration.config
          with the following content:
          tempDir=""
          maxSize="2048576000"
          
        2. Add the file to osgi/configs
        3. Start the portal.
        4. Go to System Settings > Platform > Infrastructure > Upload Servlet Request and verify maxSize value.
      2. Now build master including LPS-93457 and do the following:
        1. Start the portal.
        2. Go to System Settings > Platform > Infrastructure > Upload Servlet Request and verify maxSize value.
        3. Add a basic document and media document

      Actual Results:
      Info message shows 100MB upload limit

      Expected Results:
      Info message shows more than 1GB of upload limit.

      Attachments

        Activity

          People

            summer.zhang Summer Zhang
            mariano.alvaro Mariano Álvaro
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 2 weeks, 4 days ago

              Packages

                Version Package
                7.1.10 DXP FP12
                7.1.X
                Master