We've noticed that when you create links within Notes to other notes
or files in the Nuxeo EP 5.1 content management system, the TinyMCE
content editor creates absolute URIs to those documents or
"abso-relative" URIs like this beauty:

https://www.mynuxeo.com/nuxeo/nxdoc/default/ea5ba5ad-a30a-4ee2-be9b-ba1caf9dcccc/../316c032c-f735-4422-8c26-0e69ae2f8218/view_documents?tabId=&conversationId=35

Hardcoding the host name can lead to issues down the road when the
content database is copied to another server (e.g. for testing), or in
our case when we changed the host name of our production server. All
of the old internal Nuxeo links are now broken since they reference an
obsolete host name.

What is the best path to globally updating these old links in existing Notes?

Is there a way to configure the TinyMCE link controls so that they
create relative URIs going forward? Would this make sense as the
default behavior, i.e. as a change request for a future Nuxeo EP
release? Are there good reasons for not to using relative links
(meaning relative to the root URI path, not relative to the current
Nuxeo folder)?  :)

Thanks,
- Alex
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to