News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Few bugs found in VM 3.4.0.9935

Started by man.of.earth, October 03, 2018, 19:26:30 PM

Previous topic - Next topic

man.of.earth

Hello developers,

I found a few bugs in this version. I'm running Joomla 3.8.12.

1. /administrator/components/com_virtuemart/models/userfields.php
line 1119
$_return['fields'][$_fld->name]['formcode'] = JHTML::_('select.genericlist', $_values, $_prefix.$_fld->name.'_field', $_attribs, 'fieldvalue', 'fieldtitle', $_selected);
- added
.'_field'
after
$_prefix.$_fld->name
otherwise it did not validate HTML5 (mismatch with 'for' attribute)

line 1132
$_return['fields'][$_fld->name]['formcode'] =  JHtml::_('select.radiolist', $_values, $_prefix.$_fld->name.'_field', $_attribs, 'fieldvalue', 'fieldtitle', $_selected);

- added
.'_field'
after
$_prefix.$_fld->name
otherwise it did not validate HTML5 (mismatch with 'for' attribute)

2. in /administrator/components/com_virtuemart/views/user/tmpl/edit_shopper.php (line 294):

<img src="/images/stories/<?php echo $this->contactDetails->image?>" align="middle" alt="Contact" />
should not have /image/stories/ as path prefix but only a slash (otherwise the image is not rendered), so it should be
<img src="/<?php echo $this->contactDetails->image?>" align="middle" alt="Contact" />


George
https://www.proxima-mundi.ro