core icon indicating copy to clipboard operation
core copied to clipboard

TinyMCE plugin not working in dotCMS 4

Open yasindilekci opened this issue 9 years ago • 1 comments

The latest version of TinyMCE plugin provided on the website does not work,

When opening a piece of content that has a WYSIWYG field, the following errors are thrown:

[09/11/17 15:02:58:274 CET] ERROR portlet.PortletRequestDispatcherImpl: Unable to compile class for JSP:

An error occurred at line: [14] in the generated java file: [xxxxdotservertomcat-xxxworkCatalinalocalhostROOTorgapachejsphtmlpluginsorgdotcmstinymce005fextendedtiny005fmce005fconfigjsp.java] Only a type can be imported. com.dotmarketing.portlets.files.model.File resolves to a package

An error occurred at line: [17] in the generated java file: [xxxxdotservertomcat-xxxworkCatalinalocalhostROOTorgapachejsphtmlpluginsorgdotcmstinymce005fextendedtiny005fmce005fconfigjsp.java] Only a type can be imported. com.dotmarketing.portlets.files.business.FileFactoryImpl resolves to a package

An error occurred at line: [136] in the jsp file: [/html/plugins/org.dotcms.tinymceextended/tinymceconfig.jsp] File cannot be resolved to a type 133: }catch(Exception e){ 134: } 135: //cssPath = cssPath.replaceAll(Config.getStringProperty("VIRTUALFILE*PREFIX"), ""); 136: File file = null; 137: try { 138: file = APILocator.getFileAPI().getFileByURI(cssPath,host,true, APILocator.getUserAPI().getSystemUser(), true); 139: }catch(Exception e){

An error occurred at line: [138] in the jsp file: [/html/plugins/org.dotcms.tinymceextended/tinymceconfig.jsp] The method getFileAPI() is undefined for the type APILocator 135: //cssPath = cssPath.replaceAll(Config.getStringProperty("VIRTUALFILE*PREFIX"), ""); 136: File file = null; 137: try { 138: file = APILocator.getFileAPI().getFileByURI(cssPath,host,true, APILocator.getUserAPI().getSystemUser(), true); 139: }catch(Exception e){ 140: }

yasindilekci avatar Nov 09 '17 15:11 yasindilekci

This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you.

stale[bot] avatar Sep 28 '19 10:09 stale[bot]