CMDBuild Forum

Problem with Notes - TinyMCE

Hello CMDBuild team and friends,

with latest openMAINT installed (openmaint-1.1-2.4.2) we face a problem regarding the html editor TinyMCE in the Notes tab.
We write text in Greek language but it is saved in the database as html entities and not as greek text.
For instance, when we write  τεστ  then in the db it is stored: <p>&tau;&epsilon;&sigma;&tau;</p>

We tried to solve the problem by editing 2 files of TinyMCE.
In particular, we replaced
entity_encoding:"named"
with
entity_encoding:"raw"
in the following files:
.../openmaint/javascripts/ext-4.2.0-ux/form/field/tinymce/tiny_mce.js
.../openmaint/javascripts/ext-4.2.0-ux/form/field/tinymce/tiny_mce_src.js

That seems to have solved the problem.
However, is that a valid solution that won't cause other problems to the functionality of openMAINT?
Thanks in advance,
Dimitris

Hello,
we cannot guarantee that this solution will not cause any problems. In any case if it works we think it's a valid solution.
 
Kind regards
CMDBuild Team
 
Previously Dimitris wrote:

Hello CMDBuild team and friends,

with latest openMAINT installed (openmaint-1.1-2.4.2) we face a problem regarding the html editor TinyMCE in the Notes tab.
We write text in Greek language but it is saved in the database as html entities and not as greek text.
For instance, when we write  τεστ  then in the db it is stored: <p>&tau;&epsilon;&sigma;&tau;</p>

We tried to solve the problem by editing 2 files of TinyMCE.
In particular, we replaced
entity_encoding:"named"
with
entity_encoding:"raw"
in the following files:
.../openmaint/javascripts/ext-4.2.0-ux/form/field/tinymce/tiny_mce.js
.../openmaint/javascripts/ext-4.2.0-ux/form/field/tinymce/tiny_mce_src.js

That seems to have solved the problem.
However, is that a valid solution that won't cause other problems to the functionality of openMAINT?
Thanks in advance,
Dimitris