Seafile Community Edition 12.0 is production ready! New Navigation and Viewing Experience, Enhanced SeaDoc Functions, New Knowledge Base and More

Hello, can you provide a screenshot or detailed steps to reproduce the problem? Where does the user click on the file with “cloud edit” permission to generate a share link?

I just tested it in 12.0.9 pro. The file with “cloud edit” permission does not have a share button.

I’m not flobiree, but I think I have seen the same. Your screenshots don’t show any sharing options at all, which seems to be because you are looking at a library shared to you, not one you own.

The share properties for a .docx

But when sharing the .odt file there isn’t the “edit on cloud and download” option:

2 Likes

Yes, exactly, thanks @tomservo for the screenschots, that’s exactly my problem!

Thanks @tomservo for the explanation.

For the “edit on cloud and download” option, first the office file needs to be editable online before this option will be displayed.

For .odt files, you need to be added to the OFFICE_WEB_APP_FILE_EXTENSION and OFFICE_WEB_APP_EDIT_FILE_EXTENSION configuration to make them editable online.

I am not sure what you mean by saying that it needs to be “editable online before this option will be displayed”. The process I went through to make the files was the same. I opened LibreOffice and in a blank document did ‘save as’ to make an empty .odt file in the test directory synced to my server. Then I did ‘save as’ again, but selected the ms office docx file type. I can open and edit both files online.

The share options in the UI show the “edit on cloud and download” for the .docx file, but not for the .odt file.

The relevant lines from my seahub_settings.py config file are:

OFFICE_WEB_APP_FILE_EXTENSION = ('odp', 'ods', 'odt', 'xls', 'xlsb', 'xlsm', 'xlsx','ppsx', 'ppt', 'pptm', 'pptx', 'doc', 'docm', 'docx')
OFFICE_WEB_APP_EDIT_FILE_EXTENSION = ('odp', 'ods', 'odt', 'xls', 'xlsb', 'xlsm', 'xlsx','ppsx', 'ppt', 'pptm', 'pptx', 'doc', 'docm', 'docx')

So it looks like it should be working, right?

Same here, od* extensions are in both my OFFICE_WEB_APP_FILE_EXTENSION and OFFICE_WEB_APP_EDIT_FILE_EXTENSION settings, but this seems to be ignored for the cloud edit permission (but this settings works well to edit files with Collabora in the main Seahub view).

@tomservo @flobiree Thanks for your feedback. I will further debug this problem on our test machine.

1 Like

@flobiree @tomservo This issue needs to update the code and will be updated in the next 12 version.

Good news, thanks a lot!

1 Like