Northteq / Creekridge_Portal

Contains the code for the Creekridge Capital portal.
0 stars 1 forks source link

Email Notification Body Editor does not appear as expected #198

Open tbstevens opened 9 years ago

tbstevens commented 9 years ago

Issue

The liferay portal settings page is not displaying the ckeditor for modifying the body of various email notification templates.

Expected

Should be able to edit body of email message.

tbstevens commented 9 years ago

@Creekridge - Researched the issue.

The cdkeditor javascript file is being served up with these characters at the beginning of the file in the production server ""

This is due to a UTF-8 encoding on the cdkeditor.js file and for some reason the prod server is not liking the UTF-8 encoding. this is why it works in my local environment and not in prod. I'll have to look into this some more.

kdolan12 commented 9 years ago

Here is the email from Ryan to Tom. I talked to Ryan yesterday and he is going to post something on the Liferay boards to see if anyone else is having this issue.


Ok so I fixed the issues with the ckeditor/lang/en.js and it inserting BOM (Byte Order Marks) at the beginning of the files. The problem is I don't think that the problem is solved. All I am getting now is the following errors in ckeditor.js:

Uncaught TypeError: Cannot read property 'options' of undefined

I do not see the form entries in the email notifications tab. Are you seeing them on your device? Also what are you testing on?