Ticket #13596 (confirmed Bug)

Opened 3 years ago

Last modified 3 years ago

Server browsing not working when trying to insert link with CKEditor

Reported by: aldick@… Owned by:
Priority: minor Milestone: 4.x
Component: Visual Editor Version: 4.2
Keywords: PloneFinder, CKEditor, linking Cc:

Description

After upgrading three different Plone-installs from 3.1.7 or 3.3.5 to 4.2 we found an issue when trying to insert normal links inside the Plone-site with CKEditor.

What do I do?

  • start editing a normal page, mark text, click the "insert link" icon
  • click "Browse Server" (in German "Server durchsuchen")
  • traverse the folder tree

Traversing the folder tree works on some folders, on others not. There is no obvious pattern, which folders can be accessed and which cannot. When clicking on folders, that cannot be traversed, on the lower left corner it says "Loading. Please wait...".

We tried to remove collections or pages as default view and changed the browser (tried FF, Chrome and IE). Didn't change anything on the issue.

At the moment, I have no idea if this issue is a problem by Plone's core, CKEditor or PloneFinder. And I have no idea how to narrow that issue down. Please feel free to request more information, if necessary.

Change History

comment:1 Changed 3 years ago by kleist

  • Status changed from new to confirmed
  • Keywords PloneFinder, CKEditor, linking added; PloneFinderCKEditorlinking removed
  • Component changed from Unknown to Visual Editor

comment:2 Changed 3 years ago by aldick

Update/additional info: This only seems to affect folders with spaces in the ID/shortname. You can reproduce this error even on a fresh and empty plone-site when creating folders, rename them and insert spaces (' ') in the shortname. Then, you cannot open/link to them in the CKEditor.

Origin of the spaces in the plone-sites of our customers: They used "ZipFileTransport" to mass-import folder-structures and files. This addon just fu up with the IDs, as it seems. Was a PITA to get rid of ZFT before updateing the plone-site. But ZFT left this "broken" folders with the ugly IDs/shortnames. :(

Workaround: On the existing plone-sites we were able to "fix" this, by renaming all folders with spaces in the URL. Create a collection finding all folders, add "/folder_contents" in the URL when watching the collection, select all folders with spaces in the URL (mouseover -> link preview in firefox at the bottom of the window), mass-rename them and insert "-" for all spaces in the shortnames.

comment:3 Changed 3 years ago by aldick

  • Summary changed from Server browsing not wokring when trying to insert link with CKEditor to Server browsing not working when trying to insert link with CKEditor
Note: See TracTickets for help on using tickets.