pydio / cells

Future-proof content collaboration platform
https://pydio.com
GNU Affero General Public License v3.0
1.78k stars 173 forks source link

[4.2] Public Link for directory is broken if "enable search in minisite is turned on" #487

Closed Fred-Hau closed 1 year ago

Fred-Hau commented 1 year ago

📝 Describe the bug

Since the 4.2 update, there is no longer the possibility of publicly sharing a directory or a cell. I can publicly share a file but not the directory containing the public files. A blank page is displayed and I have no error in the log

⚙️ How-to Reproduce

Steps to reproduce the behavior:

1 -Go on directory Share, active public shared. 2- Copy the link 3- Paste on private navigate

🩺 Environment / Setup

Complete the following information:

Server Versions:

Client used for testing:

Additional context:

cdujeu commented 1 year ago

Argh - seems like your the second person seeing this issue. Not good.. I guess you see errors if you load the link with your browser "Developer Console" (generally F12) opened?

Fred-Hau commented 1 year ago

Hello, Yes I got this error : Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. and many llines of error like this : https://X.X.X.X/public/plug/gui.ajax/res/dist/core/DistLib.min.js?v=22d853db4064a4fa9838f0a350472941:2 Do you need other informations ?

cdujeu commented 1 year ago

can you send all the details of the "share link" dialog : label, password protected or not, link layout, was it created before or after upgrade to 4.2, etc... Does your instance have specific settings (like custom user-defined metadata, etc..) ? Just can't reproduce it on many different instances as of now, but probably missing something...

Fred-Hau commented 1 year ago

label : intranet (I try with the default label) No password protected Link layout ?? It was created before and I try with a new creation after update. No specific setting, all by default. Merci

cdujeu commented 1 year ago

Would you mind creating a temp user for me on your instance so that I try creating a link by myself? you can DM me with my first name (at) the domain name ;-)

cdujeu commented 1 year ago

Ok, nailed it, it's because of the "Enable Search in Minisite" option. I've updated the issue title. We'll provide a fix for that shortly.

cdujeu commented 1 year ago

was fixed in 4.2.2