Author Topic: Vendor Info doesn't save  (Read 383 times)

behemoth

  • Jr. Member
  • **
  • Posts: 81
Vendor Info doesn't save
« on: June 11, 2019, 12:40:57 pm »
VM 3.4.2

Virtuemart > Shop config

I've not checked the other textareas (I'm halfway through a build so I've got to stick to my script...), but if you 'toggle editor' (to turn off WYSIWYG) and paste some content into the Legal Info field and save the page the content doesn't save. If you toggle the editor back to WYSIWYG before saving the changes stick.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27565
  • Always on vacation
    • Jenkin Hill Internet
Re: Vendor Legal Info doesn't save
« Reply #1 on: June 11, 2019, 12:53:44 pm »
Are you copying from Word (or similar) or copying from a plain text editor?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8.10197 on Joomla 3.9.13 PHP 7.0.33

behemoth

  • Jr. Member
  • **
  • Posts: 81
Re: Vendor Legal Info doesn't save
« Reply #2 on: June 11, 2019, 13:57:43 pm »
Either; I tried both. The content pastes into the field ok, it just doesn't save if the WYSIWYG editor is toggled off.
I've also now tried it with the Terms of Service field as well and manually typing the content and it does the same thing.

I've amended the thread title to reflect

behemoth

  • Jr. Member
  • **
  • Posts: 81
Re: Vendor Info doesn't save
« Reply #3 on: June 11, 2019, 14:09:50 pm »
Ok, I've confirmed it happens on all three fields. Recreation steps as follows:
  • From the back end, browse to VirtueMart > Shop.
  • Choose the 'Vendor' tab.
  • Click the 'Toggle editor' button for any of the three textarea inputs ("Description", "Terms of Service", "Legal Information"). The toolbars will vanish.
  • Type some text and click 'Save & Close'.
  • Go back into VirtueMart > Shop > Vendor tab and note that the field is empty.

Compare this to the same procedure, but after typing click 'Toggle editor' again. The toolbars and whatnot display again. This time 'Save & Close' and then review and the content is still in the field.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27565
  • Always on vacation
    • Jenkin Hill Internet
Re: Vendor Info doesn't save
« Reply #4 on: June 11, 2019, 16:04:28 pm »
Took a while to check this. I usually use Codemirror as my editor and JCE for clients. They work OK saving text. But then I tried TinyMCE and can duplicate what you describe. But If there is already some text there entered in one of the other editors or in TinyMCE WYSIWYG then that remains on saving from the text entry window, just new text vanishes - I can see this if I just hit save.

My guess is that this is a TinyMCE issue, not VM. For clients I have always used the Pro version of JCE.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8.10197 on Joomla 3.9.13 PHP 7.0.33

behemoth

  • Jr. Member
  • **
  • Posts: 81
Re: Vendor Info doesn't save
« Reply #5 on: June 12, 2019, 15:01:44 pm »
I had no idea what I use actually; just whatever's installed as default. I've just checked and the default editor does appear to be TinyMCE. You learn something new every day.