Review main Merged

69793[BUGFIX] Correctly resolve best matching FAL storage

Oliver Hader CR +2 V +2 Hard +333 −21 updated 07/12/21, 19:13

Commit message

For legacy reasons storage resolving in file abstraction layer still
supports using identifiers like `/fileadmin/img.png` instead of
`1:/img.png` (given, that `1:` corresponds to `fileadmin/` storage).

To resolve the "best matching storage", existing storage paths are
analyzed - however this did not work in the following cases:

+ identifier like `/fileadmin/img.png` on storage using relative
  base-path like `fileadmin/`
+ identifier using absolute path on storage with relative base-path
+ identifier using relative path on storage with absolute base-path

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 5