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

Unable to use either FileSystemStore or AdvanceFileSystemStore because a configuration mistake. Configuration is confused

    Details

      Description

      Steps to reproduce:

      1. Startup the portal
      2. Go to Control Panel/System Settings and look for store settings
      3. Go to Advanced File System Store configuration, do not modify anything but Update
      4. Go to Simple File System Store configuration, do not modify anything but Update
      5. You will get an exception like this:
        16:37:40,898 ERROR [fileinstall-/home/achaparro/servers/ee-7.0.x/osgi/portal][com_liferay_portal_store_file_system:97] [com.liferay.portal.store.file.system.FileSystemStore(560)] The activate method has thrown an exception 
        java.lang.IllegalArgumentException: File system root directory and advanced file system root directory are identical
        	at com.liferay.portal.store.file.system.FileSystemStore.validate(FileSystemStore.java:730)
        	at com.liferay.portal.store.file.system.FileSystemStore.activate(FileSystemStore.java:501)
        
      6. Try to create a document in documents and media

      Results:
      You are unable to create a document

      Expected results:
      You are able to create a document

      Notes:
      The problem here is that the validation is not intuitive because it didn't check it for default values which are the same for both stores.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 12 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 DXP FP14
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.X EE
                  7.1.X
                  Master