Bug?
Archived from the Xataface Users forum.
brokenclock — Fri May 29, 2009 6:55 am
Hi,
I’ve set a blog field in the database.
As I use it to store text, I’ve changed the fields.ini to set the widget:type to textarea. It seems to work as expected, but…
When I want to modify a record, and that record has already something in the field, Xataface face display it as an empty field, and if I do not refill it, as I may do for a quick change, delete the related data in the base…
I suppose that’s due to the fact that Xataface first use a file field, and so do not query any data for this field, and change the field to textarea only for displaying the form.
Any fix? Workaround?
Best regards,
BrokenClock
silma — Tue Jun 02, 2009 2:00 am
Hello,
I don’t know if it’s related, but i’ve already seen this bug, in another application (not xataface) working with fckeditor.
If you’re using it (i think it’s the default one) you could try tinymce instead. (widget:type=htmlarea
widget:editor=tinymce)
Hope this help.
I also have some trouble with an htmlarea : i cannot prevent it to appear just under my details page title (in text mode), besides in it’s own field.
brokenclock — Tue Jun 02, 2009 4:48 am
hi,
I found a workaround : I move the field from blob to text, and everything goes right now.
Thanks for your answer.
shannah — Tue Jun 02, 2009 10:20 am
Yes. Xataface assumes that blob fields contain binary data so it doesn’t try to load it (for performance reasons).
-Steve