VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: tanolalano on February 10, 2017, 12:52:03 PM

Title: Editing product description in non default language and saving It overwrite description in default
Post by: tanolalano on February 10, 2017, 12:52:03 PM
Editing product description in  non default language and saving It overwrite description in default language
Any One have this issue?
VM 19.5
PHP 7
J!3.6.5
Title: Re: Editing product description in non default language and saving It overwrite description in defa
Post by: Milbo on February 14, 2017, 09:31:24 AM
Strange thing. I could reproduce that, but when I started to debug, it vanished. Hmmm. Lets keep an eye on it.
Title: Re: Editing product description in non default language and saving It overwrite description in defa
Post by: lindapowers on February 21, 2017, 12:39:12 PM
I have seen these but it was due to a problem with the JCE editor.

In our case swtiching to tiny MCE editor solved it. For some reason seems the editor was not really changing the language and the default language was getting override.
Title: Re: Editing product description in non default language and saving It overwrite description in defa
Post by: K&K media production on February 21, 2017, 13:57:21 PM
Tried with JCE 2.6.8 and no problems.
Title: Re: Editing product description in non default language and saving It overwrite description in defa
Post by: lindapowers on February 21, 2017, 15:00:33 PM
Quote from: K&K media production on February 21, 2017, 13:57:21 PM
Tried with JCE 2.6.8 and no problems.

You fixed it in one of the betas but in some previous versions I could replicate. Maybe his issue is not related to the editor.
Title: Re: Editing product description in non default language and saving It overwrite description in defa
Post by: Studio 42 on February 22, 2017, 02:49:31 AM
In Jce the problem was on loading and editing. In VM 3.0.18 i'm pretty sure, it was not working.
I have send the problem too for some months.
Title: Re: Editing product description in non default language and saving It overwrite description in defa
Post by: Milbo on February 22, 2017, 15:45:52 PM
The problem is more complex. VM handles now the BE language different. So in my case it was so.

Shop default language in German (means joomla default FE language DE)
I installed the sample data and opened my product with the Backend language, english.
So I saw the "english" text of the sample data in the "english product", which was just the fallback of the "english text" in the german tables.

So when I stored the german text, the english texts showed the german entry and I got confused, but it was just the fallback.

Solution, use as default in BE also the default of the FE

and developer solution is to load the product with "getProduct" and "getProductSingle", and one time without language fallback, or so. The we could grey this fields, so that it is visible.

Normal derivated values are just not shown, but language fallbacks are shown always and that can lead to confusion.
Title: Re: Editing product description in non default language and saving It overwrite description in defa
Post by: tanolalano on February 22, 2017, 16:24:21 PM
Quote from: lindapowers on February 21, 2017, 12:39:12 PM
I have seen these but it was due to a problem with the JCE editor.

In our case swtiching to tiny MCE editor solved it......
It's my default editor
Title: Re: Editing product description in non default language and saving It overwrite description in defa
Post by: tomsson on March 13, 2017, 20:13:55 PM
My shop is in NO and EN language
VM is 3.0.18
yesratday I update JCE to 2.6.8  and I get problems with saving multilangiage product description.

my solution is chenge editor for TinyMCE
Title: Re: Editing product description in non default language and saving It overwrite description in defa
Post by: lindapowers on March 13, 2017, 21:31:02 PM
Quote from: tomsson on March 13, 2017, 20:13:55 PM
My shop is in NO and EN language
VM is 3.0.18
yesratday I update JCE to 2.6.8  and I get problems with saving multilangiage product description.

my solution is chenge editor for TinyMCE


We use TinyMCE too but it seems they solved it with JCE 2.6.9 (I have not tested im happy with TinyMCE anyway)
http://forum.virtuemart.net/index.php?topic=136471.msg478712#msg478712