xwikisas / application-filemanager

XWiki application to manage a hierarchy of folders and files
GNU Lesser General Public License v2.1
0 stars 4 forks source link

Preview of file is not working after execution File Manager Document macro #87

Open petrenkonikita112263 opened 10 months ago

petrenkonikita112263 commented 10 months ago

Environment: XWiki 15.9, Windows 10.

Prerequisites:

Step to reproduce:

  1. Navigate into dedicated page.
  2. Insert File Manager Document macro via QuickActions or from toolbar menu.
  3. Pass the page reference where uploaded file is stored.
  4. Check the preview.

msedge_UFLuujIjzF

Actual result: The preview function doesn't work on File Manager Document macro, even with unchecked (default state) preview, the result is the same.

Expected result: Inside the cell, not even information about a file is displayed, but the viewer macro allows you to see the file.

Note: if edit the reference {{filemanagerdoc page="FileManager.test image\.jpg" preview="true"/}} and remove \ than the empty cell will be displayed.

petrenkonikita112263 commented 2 months ago

With a new version of File Manager (Pro) 2.8, it is still the same; however I started to think this may not be the issue and the intended way if the user tried to use File Manager Document macro, and if a user wants to see file that user needs click on URL that will redirect to page with this file. But store documentation lacks information about its usage and result.