Bug?

A place for users and developers of the Xataface to discuss and receive support.

Bug?

Postby 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
brokenclock
 
Posts: 12
Joined: Tue Sep 30, 2008 7:16 am

Postby 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.
silma
 
Posts: 87
Joined: Tue Apr 28, 2009 11:47 pm

Workaround

Postby 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.
brokenclock
 
Posts: 12
Joined: Tue Sep 30, 2008 7:16 am

Postby 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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 26 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved