nextcloud / richdocuments

📑 Collabora Online for Nextcloud
https://nextcloud.com/collaboraonline
358 stars 117 forks source link

​ “Select tags to enforce watermarking” list empty #2158

Open Ngineer4life opened 2 years ago

Ngineer4life commented 2 years ago

Describe the bug

The list area to choose tags for Watermarking is empty. It offers no pop-up list of tags and will not respond when I type something to search for. I’ve tried clearing all my tags, also emptying the tags table in the nextcloud database, and adding new tags. Still no options in this field.

At first I could go into Administration settings for Office and choose any of my tags to enforce Watermarking, with no issue. But now the list is empty. It will not return any results. When I remove all the tags in my instance, it will return the result “List Empty.” But as soon as I add a new tag to the instance, it returns to being unresponsive.

The only thing I can recall doing before this stopped functioning: I deleted one of the chosen tags for watermarking from elsewhere (in the “details” view on a file in the Nextcloud interface.) When I came back to the settings, that field was blank. I believe that was when it stopped working.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Settings -> Office -> Secure View Settings'
  2. Click on 'Show Watermark on Tagged Files'
  3. Scroll down to 'Select Tags to Enforce Watermarking'
  4. See error: Nothing in list, no matter how many tags I have defined, of any type

Expected behavior I expected to be able to choose tags to watermark

Screenshots image

Client details:

Server details

Operating System Version: Linux 5.13.0-39-generic x86_64

Web server: Apache2 server

Database: mysql 10.3.34

PHP version: 7.4.28

Nextcloud version: Nextcloud Version: 23.0.3

Version of the richdocuments app Nextcloud Office 5.0.3

Version of Collabora Online COOLWSD 21.11.0.3 Collabora Office 21.06.8.1

Ngineer4life commented 2 years ago

Unfortunately didn’t get any better after latest Office app update

Raudius commented 2 years ago

Hi, thanks for the report.

I am not able to reproduce it on the latest version. Could you check your network log (while opening the settings page) for the request to /remote.php/dav/systemtags/ and check the response?

maximelehericy commented 1 year ago

@juliushaertl I can reproduce the bug in 27.0.2 and richdoc 8.1.1.

It reminds me this https://github.com/nextcloud/server/pull/36754 Any chances to get this fixed ? I wanted to demo this to customers 🙃 Thanks !

joshtrichards commented 1 year ago

@maximelehericy Are you able to provide the output requested in https://github.com/nextcloud/richdocuments/issues/2158#issuecomment-1266677054 by chance? We never heard from from the original poster and @Raudius was unable to reproduce.

maximelehericy commented 1 year ago

@joshtrichards here it is: image no error from the network tab in the console, but plenty of errors in the console. if I should expand some intems in the list, please let me know which ones ;)

joshtrichards commented 1 month ago

This code has been replaced as of #2945 and subsequent changes. Though do make sure you're fully up-to-date since #4124 was just merged with a fix here. So this is either fixed or no longer applicable I suspect.