RTF bug in Servoy 2.1.2 ?

I have a letter templates table, where user can define tags that would be replaced with a database content on the fly (i.e. %%adr_name_first%%, %%adr_name_last%% … tags).

Writing a letter, a chosen template body is assigned to a RTF global field (with the option “displayTags” selected) and all the tags are replaced with the DB values - this part is working fine.

Now, when user makes changes to the global RTF field (i.e. adding space), or just makes some formating (justification, font change), the content tags would be saved with the “real” values in the letters history table (i.e. %%adr_name_first%% would be “John”).

With making no changes to a RTF field, by just confirming the created letter, the global is saved in the letters history table without replacing tags - so %%adr_name_first%% would not be “John” but “%%adr_name_first%%”.

Servoy Developer
Version R2 2.1.2-build 315
Mac OS X 10.3.7 and Winows 2000/XP
Didn’t test it under Linux yet.