Content Duplication Bug

Having Problems? Need Help? Post here!

Re: problem with 2.5.25 version (WP 3.3)

Postby cdano » Thu Jan 26, 2012 8:56 am

Frederik wrote:In my experience...
As long as you keep strictly to either the "Visual" tab or to the HTML-tab, you don't have any issues...
However, if you switch between the two, you will get the issues... :|


Unfortunately this is has only prove to be true 'sometimes'. My last page update gave me the problem without changing tabs. It's documented in my last post.
cdano
 
Posts: 13
Joined: Thu Jan 05, 2012 11:30 am

Re: problem with 2.5.25 version (WP 3.3)

Postby icc97 » Thu Jan 26, 2012 1:04 pm

It looks like Qain Qin has tried to fix this by putting in a patch to remove the paragraph tag formatting in TinyMCE. See: http://plugins.trac.wordpress.org/chang ... qtranslate for the changes.

However I've installed this version (2.5.28b) and I still get the same bug.

The problem happens when the page loads and the default editor is Visual. It has nothing to do with saving the page.

  • If the content is correct before the save
  • then the content is saved correctly, even when on the Visual editor.
  • The problem is that the content is then corrupted when the page reloads after saving
  • If at this point, you switch to the HTML editor and refresh the page, you should see the correct content as it is stored in the database.
  • Instead of switching to the HTML editor, if you leave the editor as 'Visual' and then re-save you will corrupt what is in the database.

I have tested this with and without the Advanced TinyMCE plugin. The option to to replace p and br tags was turned off.
icc97
 
Posts: 6
Joined: Fri Oct 07, 2011 1:31 pm

Re: problem with 2.5.25 version (WP 3.3)

Postby icc97 » Thu Jan 26, 2012 1:14 pm

eviotto wrote:
eviotto wrote:Hi there,

I have read the discussion topic and find myself with the same bug: the 1st language (English) content does not display, and gets displayed with the 2nd language (French).
However, I have something even more weird happening in my WP dashboard: if I want to edit a page, the "content" field does not display, at all. :shock: I can see the two title fields, the revisions, the http://plugins.elliotcondon.com/advanced-custom-fields/ I have for some pages, but not the content with the language tabs.

I tested this under Chrome 16.0.912.75 and Firefox 9.0.1 on Windows. WordPress version is 3.3.1 and qTranslate 2.5.27. I have an IIS server.
I think I haven't seen anyone having this problem yet.
I'm no PHP expert, anyone has a clue why this is happening?


I didn't test the beta version, but while looking at my pages, I can tell that:
- the Bug of the content field not showing up is present only on pages. The content field works in posts and custom blog posts.

Anyone having the same issue?


@evitotto Very good spot - I have the same that there is no problem with posts but there is a problem with pages. I am using WP 3.3.1 and qtranslate 2.5.28b.
icc97
 
Posts: 6
Joined: Fri Oct 07, 2011 1:31 pm

Re: problem with 2.5.25 version (WP 3.3)

Postby MungoBBQ » Fri Jan 27, 2012 10:18 am

icc97 wrote:@evitotto Very good spot - I have the same that there is no problem with posts but there is a problem with pages. I am using WP 3.3.1 and qtranslate 2.5.28b.


Not so, here. I've got WP 3.3.1 and qtranslate 2.5.28b and we can not use our custom post types at all because of this problem.
MungoBBQ
 
Posts: 9
Joined: Wed Apr 29, 2009 2:24 pm

Re: problem with 2.5.25 version (WP 3.3)

Postby Qian Qin » Fri Jan 27, 2012 12:53 pm

ok next try. I changed some stuff, please try if it works now...
Qian Qin
Site Admin
 
Posts: 964
Joined: Thu Jun 19, 2008 12:14 pm
Location: Germany

Re: problem with 2.5.25 version (WP 3.3)

Postby jojimatsuo » Fri Jan 27, 2012 1:24 pm

Just tried version 2.5.28b2

So far, I haven't lost any content in either languages so dare I say it, I think this fix did the trick!

I have noticed that an extra <p> gets added to the very beginning of my page content (not post content) if I open up in the HTML editor, but it goes away when I switch to Visual then back to HTML.
So far, this does not look like a problem since it fixes itself.

Thank you Qian for working on this.
jojimatsuo
 
Posts: 14
Joined: Thu Jan 12, 2012 11:42 am

Re: problem with 2.5.25 version (WP 3.3)

Postby apostiladigital » Fri Jan 27, 2012 6:50 pm

jojimatsuo wrote:Just tried version 2.5.28b2

So far, I haven't lost any content in either languages so dare I say it, I think this fix did the trick!

I have noticed that an extra <p> gets added to the very beginning of my page content (not post content) if I open up in the HTML editor, but it goes away when I switch to Visual then back to HTML.
So far, this does not look like a problem since it fixes itself.

Thank you Qian for working on this.


Confirmed.

If I switch to html first, then second language, there are still a pair of <p></p> tags added that go away after switching to visual.
apostiladigital
 
Posts: 4
Joined: Mon Jan 23, 2012 5:30 pm

Re: problem with 2.5.25 version (WP 3.3)

Postby effi » Fri Jan 27, 2012 8:46 pm

hello
i tried the new version, <p> just appear when loading...
but the tags <div> </div> where added on each sentence in english (3rd language) after I saved when I switch from one to the other visual and html tabs



and then I switch again the tabs and the french version (1rst language) was written on the three tabbs, erasing the other languages... :mrgreen:
effi
 
Posts: 7
Joined: Thu Jan 12, 2012 6:16 pm

Re: problem with 2.5.25 version (WP 3.3)

Postby straitline » Sat Jan 28, 2012 1:14 am

I can report initial success with version 2.5.28b2!
straitline
 
Posts: 1
Joined: Sat Jan 28, 2012 1:00 am

Re: problem with 2.5.25 version (WP 3.3)

Postby potyka » Sat Jan 28, 2012 12:10 pm

Hi! Great care is. I use the wp qtranslate + version 3.3.1. After starting the plug-in dates during the POST error appears (% Y% B% e,% A -% H:% M). And there is a problem. If you want to create a new post office, the address you entered does not display anything saved. I disabled all plugins and just let qtranslate but it is above the fault. Ka qtranslate disable it everything works.
potyka
 
Posts: 1
Joined: Sat Jan 28, 2012 12:00 pm

PreviousNext

Return to qTranslate Support Forum

Who is online

Users browsing this forum: Alexa [Bot], Google [Bot], Google Adsense [Bot] and 6 guests