Copied individual FileAssets not indexed.
related to resolved issue : https://github.com/dotCMS/dotCMS/issues/1603 fileAssets in a copied folder are now indexed, but files copied on their own appear not to be.
To reproduce using demo site: 1.create directory /images/icons/test
- create template "asset copy test" with
set($showSubgalleryTitle=false)
set($showPhotoTitle = false)
set ($thumbnailWidth = "150")
set ($thumbnailHeight = "150")
< h1> list assets
photoGallery("/images/icons/template")
-
create html page "asset_test.html" with this template
-
copy any image from templates to the new directory
-
view page - shows Nothing - should have 1 image(view as admin, otherwise broken links shown for images)
-
rebuild fileAsset index and view page again.
COPIED asset is now visible.
I assume its a simple fix as for FolderFactoryImpl... but I can't find the correct place .. (FileFactoryImpl?)
not working on master - I reported on https://github.com/dotCMS/dotCMS/issues/1685