saving with xinha deletes content

Found a bug? Tell us!!
Post Reply
User avatar
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

saving with xinha deletes content

Post by konus » Thu Feb 19, 2009 4:48 pm

Hi,
all of a sudden, xinha behaves very strange: Switching from html-view to code view or saving within html-view enabled deletes all data. The textfield is empty. :shock: after saving.

I tested it with Opera and Firefox, but with no difference. I am using the latest version 1.4.1 from serendipity. The same problem occured at the same time on a different computer, someone else where working on.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: saving with xinha deletes content

Post by garvinhicking » Thu Feb 19, 2009 5:20 pm

Hi!

you have js in your text?

regards,
garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

Re: saving with xinha deletes content

Post by konus » Thu Feb 19, 2009 5:22 pm

No, there is no script inside.
But it looks like there is some kind of overflow. After deleting the cache, everything is working fine again. [phew]

User avatar
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

Re: saving with xinha deletes content

Post by konus » Fri Feb 20, 2009 5:38 pm

The problem with loosing all data occurs repeatedly after heavy editing. I did not found a way to reproduce the error though. For me XINHA seems to be a bit unreliable, but maybe It is only a problem with my setup.

I was trying to use XINHA for a new project, but now I am going back to the old-fashion editor in connection with textile.

Thank you for your support!

vincem
Regular
Posts: 59
Joined: Sat Mar 05, 2005 6:01 am
Contact:

Re: saving with xinha deletes content

Post by vincem » Fri Mar 20, 2009 7:30 am

Hi,

Having trouble with Xinha too. It did a few bizarre saves on entries but I didn't track those errors down. However I can say that if trying to save something with javascript, it won't take it. Is that normal, and is there a work-around?

Cheers,

Vince

User avatar
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

Re: saving with xinha deletes content

Post by konus » Fri Mar 20, 2009 10:29 am

vincem wrote:However I can say that if trying to save something with javascript, it won't take it. Is that normal, and is there a work-around?

I think, this Problem was already discussed in the german part of this forum.

As result, there is a fix in functions_entries_admin.inc.php. Please try that.

vincem
Regular
Posts: 59
Joined: Sat Mar 05, 2005 6:01 am
Contact:

Re: saving with xinha deletes content

Post by vincem » Fri Mar 20, 2009 6:37 pm

Oh, how silly of me, I forgot to check the German part... ;-)

Fix found, implemented and working. Thanks for the tip, Konus!

Cheers,

Vince

Post Reply