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

FileSystemStore allows publishing when file is missing on live site

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.2.X EE
    • Fix Version/s: None
    • Component/s: DM
    • Labels:

      Description

      1. Turn on staging.
      2. Publish a file to live site.
      3. Manually delete old version of a file in live site storage folder.
      4. Publish new version of that file from staging site.

      Expected: publishing process fails.
      Actual: success.

      Reasons for being this way:
      1. It is not supported to delete files manually.
      2. The other store impls(eg. S3store, JCRstore) all fail to publish when file is missing on live site.
      3. LPS-54269 makes FileSystemStore, also, throw exception when the file is missing on live. Since then, master and 70 no longer allow to publish when file is missing for FileSystemStore.

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              arthur.chen Arthur Chen
              Participants of an Issue:
              Recent user:
              Tibor Lipusz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 18 weeks, 5 days ago

                Packages

                Version Package