Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
petrenkonikita112263 opened this issue Nov 6, 2023 · 1 comment

Comments

@petrenkonikita112263
Copy link

Environment: XWiki 15.9, Windows 10.

Prerequisites:

  • XWiki instance 15.x.
  • Latest version of File Manager (Pro).
  • Trial license
  • At least one uploaded file

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant