Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6278

Files added at the same time as their parent directory are not loaded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.4.5
    • 5.4
    • configuration
    • None

    Description

      Problem

      When one moves a folder with some files inside, to another path, then DirectoryWatcher do not pick up those changes (files are not recognized). It is happening due to the fact that we only receive event for the folder change, but , not the files under the given folder.

      Solution

      It had been clear after the investigation which is documented in https://wiki.magnolia-cms.com/display/DEV/Filesystem+observation+overview+on+various+platforms that, we do not get CREATE event for added folder, and hence, we should be traversing it explicitly. Afterwards, we will have the updated information and hence, AbstractFileResourceConfigurationSource and thus Registry will not have stale information.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ilgun Ilgun Ilgun
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - 3d Original Estimate - 3d
                      3d
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 3d 1h
                      3d 1h