Thank you for answering.
It seems that the problem is related with this commit:
http://cvs.openacs.org/cvs/openacs-4/packages/edit-this-page/www/etp-edit.tcl.diff?r1=1.8&r2=1.9&f=h
if you remove it then value and extra-sql are well defined and I can edit the richtextfiels but now the non-richtext gives error ..