I’ve been getting reports from content editors for a little while about the insert link button not working in FarCry (7.1.1). One issue is that because I’ve been busy I was ignoring them which now means I’m not sure at what point in time this problem started (e.g. after a project code change or a FarCry upgrade).
When I (finally) had a look yesterday what I found is that when you click the Insert/edit link button in TinyMCE a request is made like this:
But this request is then aborted.
There is no error email generated so I had a dig around in the log files and all I could find was this:
“Information”,“ajp-bio-8012-exec-1”,“07/07/15”,“17:45:57”,“DEVELOP_7”,“Unable to locate webskin [edit] for typename [dmHTML]”
My project doesn’t have a dmHTML edit.cfm webskin so this lead me to have a look in the core at \packages\types\dmHTML.cfc and on line 48 is cfproperty for the dmHTML body which contains
ftLinkListFilterTypenames="dmFile,dmNavigation,dmHTML"
As a test I removed the dmHTML from this list, did an update app and tried again. I can see in the ajax request that dmHTML has been removed from the list but it still fails with an abort. I put dmHTML back and removed dmNavigation but still fail, so tried the same again by removing dmFile. Nothing worked. In the end I completely removed the ftLinkListFilterTypenames and it works!! However obviously this is now the default TinyMCE behaviour and can no longer select from the dmFile,dmNavigation or dmHTML lists.
Anyone got any ideas on where to look for an issue? Anyone else seem similar behaviour in their projects recently after an upgrade?
Regards
Mark