VirtueMart Forum

VirtueMart 2 + 3 => Virtuemart Development and bug reports => Topic started by: Milbo on November 21, 2017, 20:04:44 pm

Title: New stable release vm 3.2.6 released, complete list of changes
Post by: Milbo on November 21, 2017, 20:04:44 pm
r9677
- added urldecode for the filter of getCurrentUrlBy and added urlencode for creating of the URL
- added a new function getShopDefaultSiteLangTagByJoomla to ensure that VM is directly installed with the correct language tables
- removed storing of the keyword in session
---------------------
r9676
fixLabel for Input type
---------------------
r9675
- FullInstaller uses now directly the correct language to install the language tables
- updated fullinstaller with j3.8
- vmLoaderPluginUpdate.php function afterRoute is now checking for BE (and ending directly)
---------------------
r9674
- little performance enhancement for "set Country State for calculation rules in the Admin"
---------------------
r9673
- More work on the search with spaces and ordering. Empty keyword is set to false now to keep backward compatibility
- added colombian destricts
---------------------
r9672
set Country State for calculation rules in the Admin
---------------------
r9671
- Fix Label for Radio And Checkbox
- Added country and state for calculation rules in the BO
---------------------
r9670
- better filtering of keyword, allows now also empty spaces
- keyword is now set per "setUserState"
- keyword is now filtered in product model function populateState and reused in category/view.html.php
- keyword cant be false now, must be checked against empty
- added vmURI::getCurrentUrlBy('get') to the feed links
---------------------
r9669
- little fix in category layout to show the search if no product was found
---------------------
r9668
- enhanced function getCurrentUrlBy, added some more whitelisted keys
- enhanced array fallback for function filterUrl
- little fix in category layout to show the search if no product was found
---------------------
r9667
- Router fixes: 
a) Each page the pagination is multiplied *2 http://forum.virtuemart.net/index.php?topic=138681.0 
b) router bug Fallback set Object as index! http://forum.virtuemart.net/index.php?topic=138834.0 
 c) removed sef for search http://forum.virtuemart.net/index.php?topic=138746.0
- Sofort Banking, removed outdated logo
---------------------
r9666
- Updated link to membership article
- added JPluginHelper::importPlugin('user'); to the function store of the user model
- minors removed unecessary defined('DS')
- added parameter for user maintenace redirect to the vmLoaderPlugin
---------------------
r9665
fixing select list to vm method adding transliterateSlugs in configuration
---------------------
r9664
debug order emails and subject email fix
---------------------
r9663
- enhanced nag function using getEncryptSafepath
- vmcrypt set function getEncryptSafepath public
- removed double // in function displayLogos in vmpsplugin.php
- report: all columns are right aligned
- updated allinone.xml file to use install the correct backend main file for j3.
- function changeShopper, address is not pre-filled with userdata of the switching user (in case the address is not provided).
- debug email, removed error message that email got not sent.
- fixed frontend manager link permission in user accountmaintenance
- paypal uses now dynamical ip white list
---------------------
r9662
- shopfunctionsF, function getInvoiceName: added loading of order languages for  - fixed accidently set " in language/en-GB/en-GB.com_virtuemart_config.ini
---------------------
r9661
- old file in safepath was not correctly deleted, when replacing the old file_class
- media view, put both delete commands at the end
---------------------
r9660
Added deletion of media files
---------------------
r9659
- small enhancement for the membership display
- synchronise media ignores the keys folder now
- added missing vmcrypt to migrator view
---------------------
r9658
Updated Updated de-DE.com_virtuemart_config.ini
---------------------
r9657
Updated en-GB.com_virtuemart_config.ini
---------------------
r9656
- enhanced search plugin
- more security for the getMyOrderDetails function
- adjusted link in order BE for getting invoice
---------------------
r9655
- router.php vendor layout was accidently unset 
- cart helper, emptyCartValues resets layout to cartlayout of the vm config
---------------------
r9654
- install.sql, removed NULLs for product group booleans, like featured, discontinued,...
- added tooltip for multiply prices feature in customfield edit.
- added option product_unit to the customfield "Property"
- added the groups to the searchfilter in be product listing
- added hidden config DiscontinuedPrdsBrowseable, Keeps discontinued products browseable
- FE link for product edit was sometimes visible without having the correct rights. There was no security problem, because the product edit blocked correctly.
- Standard payment plugin respects new config setting "order tracking mode"
---------------------
r9653
Added new option "order tracking"
---------------------
r9652
- Added the automatic, that a child is correctly created, even when no child is checked and you are on the product child listing of a parent. The create button must not check always if an item is checked.
---------------------
r9651
- router.php Some fixes for multilanguage routing. Added VmLanguage::$currLangTag to hashes of caches, to prevent getting links for the wrong language.
ed the automatic, that a child is correctly created, even when no child is checked and you are on the product child listing of a parent.
- Added one more table for optimisation task (Thx Franz)
---------------------
r9650
added missing initialising var to js
---------------------
r9649
- category model, added VmLanguage::$currLangTag to cache hash - product model, added VmLanguage::$currLangTag to cache hash
---------------------
r9648
- very important fix for multivariants, which lost in some conditions the parent option, when changing to a child. - added hidden layout options to virtuemart_defaults.cfg-dist
---------------------
r9647
- vmprices.js removed unnessary & in ajax link 
- addtocart.php uses the direct call for the sublayout of the button and not the function anylonger.
- coupon.php removed old notes
---------------------
r9646
- user model, removed note
- vendor model getVendorAddressFields does not work with internal id anylonger
- BE category list keeps selected category
---------------------
r9645
- calculationh.php little fix for the sql gatherin all rules, when no condition is given
- vmJsApi, fix for correct language of the datepicker
- mediahandler has now a deleteAllThumbs of a certain image function (works with regex, may delete accidently too much thumbs which is quite likely unimportant.
- important fix in vmLanguage, the statics keeping if a fallback should be used are deleted now, when the language tags change.
- fix in vmLanguage need to be reflected in vmmodel also
---------------------
r9644
Changed COM_VIRTUEMART_PROVIDED_UNITS to new convention COM_VM_PROVIDED_UNITS in default_shopfront.php. Added language strings for new configuration setting COM_VM_PROVIDED_UNITS including EXPLAIN. Added language strings for units P, PIECE,...
---------------------
r9643
Updated translation in de-DE.com_virtuemart_config.ini
---------------------
r9642
units changed to norm_units. Fixed the problem, that the default values were shown in the config after changing and saving them.
---------------------
r9641
- Meta data for manufacturers in product browse view 
- getCurrentUrlBy was missing virtuemart_vendor_id in the whitelist
---------------------
r9640
- added new Vendor sample image 
- added autocomplete=off to productdetail form 
- closing div in default_reviews.php was at the wrong line
- paypalstd cleaned return url
- fixed typo in required_data
- minors, removed comments, etc
---------------------
r9639
- new feature customfield of type S and M have now a new parameter, which enables the added price as percentage.
---------------------
r9638
- added redirect per system plugin "vmLoaderPluginUpdate" for register and login
- shipment plugin shows now also multiple countries
---------------------
r9637
renamed order_done layout to orderdone to be able to create a menu item.
---------------------
r9636
- fallback for active_languages in config model function store
- usermodel, extra check if the already loaded user has the right id
- removed typo in heidelpay
---------------------
r9635
- corrected reported php version. It was actually just an outdated debug, but we got used to it
- js script, added "var" to global variables, to prevent notices
---------------------
r9634
removed empty value of layout dropdowns, because it must be at least "default" anyway
---------------------
r9633
- datefield fix http://forum.virtuemart.net/index.php?topic=138147.msg484926#msg484926
- BE, moved productcount to view.html.php for faster rendering of the list
- small css changes, removed #cpanel
---------------------
r9632
important patch to prevent memory leak when switching languages.
---------------------
r9631
Fixed empty h1 tag when category view is set to top level category. Removed max-height for images and set height to auto.
---------------------
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: aftertaf on November 22, 2017, 21:26:56 pm
nice !
test underway :)
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: aftertaf on November 22, 2017, 22:27:46 pm
well, nothing horrible post-upgrade on my test site.
What should I test 'specifically' ? (if anything...)
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: rage76 on November 23, 2017, 09:34:24 am
Dear Milbo

Please explain:
1. Added new option "order tracking" How to use this?
2. added redirect per system plugin "vmLoaderPluginUpdate" for register and login (Does this mean plugin for redirect from joomla sign-in to VM is not required now?

Thanks & warm regards


Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: gba on November 23, 2017, 12:54:32 pm
Hi!

Please explain:
Code: [Select]
r9656
...
- more security for the getMyOrderDetails function
...
Is there a need to adapt third party code using this function?
If yes, in which way?

Kind regards,
Gerald
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: titolin10 on November 23, 2017, 15:15:53 pm
Hello!

Thank you for all of huge efforts and time spent to come out with the new release.

After I upgrade from VM 3.2.4 to 3.2.6  I faced a problem today

Uploading images to the product using administrator user level (With the necessary permissions)  after pressing on "clone product", then it cause the product thumb disappear on frontend  and also the resized images in product edit page.

Uploading the images from super user is working properly and everything else is working fine unless until now. and the product details page is working okay even if the thumbs not appearing.

I added some screenshots for the problem but because I can't attach files so I uploaded on my website here:

https://goo.gl/LgMY8D

https://goo.gl/Ea5owh

https://goo.gl/hTAQVf

Each product has uploaded need to "replace thumb" then thumb will work normally again.

Regards
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: titolin10 on November 23, 2017, 15:25:08 pm
I got another error just right now,

State drop-down menu during filling billing information was not working (All states for the country was activated)


This is just after update.
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: jenkinhill on November 23, 2017, 18:07:41 pm
Thumbnails generated OK here.  Country/State dropdowns working, too. I'm using default VM templates.
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: aftertaf on November 26, 2017, 22:37:47 pm
I got another error just right now,

State drop-down menu during filling billing information was not working (All states for the country was activated)


This is just after update.
which version of php etc?
no issues on my test site like that...
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: layman on November 27, 2017, 05:45:09 am
After upgrading from version 3.2.4 VM does not work correctly SEO
SEO settings
(http://s018.radikal.ru/i522/1711/dd/fa1064b15474.jpg) (http://radikal.ru)
before the upgrade the link product was
(http://s019.radikal.ru/i608/1711/dd/fea73ef0d2d9.jpg) (http://radikal.ru)
after updating error 404
(http://s11.radikal.ru/i183/1711/85/0f1e604c30d5.jpg) (http://radikal.ru)
to work it is necessary to Use the ID to products and categories
(http://i057.radikal.ru/1711/60/54f222c7b34e.jpg) (http://radikal.ru)
the link looks
(http://s019.radikal.ru/i617/1711/60/574a50ec8a94.jpg) (http://radikal.ru)
what settings to do to be like they used to?
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: Rune Rasmussen on November 27, 2017, 18:29:04 pm
After upgrading from version 3.2.4 VM does not work correctly SEO
...
to work it is necessary to Use the ID to products and categories

I can confirm this is a real issue, a huge on actually ... ;)
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: vladast on November 30, 2017, 13:59:31 pm
After upgrade from VM 3.2.4. I got an error saying "Translation missing for virtuemart_product_id" or "Translation missing for virtuemart_category_id". Actually everything that is related to Serbian Latin language disappeared .
Everything related to products/categories has gone. Also on front end, nothing is working on VM pages.

My website is using Serbian Latin on front end. In beck end in VM, my Shop langunage is set to "Use global configuration". Multilangual shop is set to Serbian Latin.
Then I'm getting above described errors.

If I change Shop Language field to Serbian Latin, then shop will go back to normal and everything will work fine.

Not sure why there is a difference between global configuration in two VM versions?
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: skopi on November 30, 2017, 17:40:32 pm
same here, after updating to 3.2.6 no category names, description are found in the back end. single language page Spanish

Title: Missing language table error message
Post by: aftertaf on December 01, 2017, 20:10:53 pm
for language issues, make sure you set a default language.  change just that and see if it helps at all..
https://forum.virtuemart.net/index.php?topic=138926.0
from
http://forum.virtuemart.net/index.php?topic=138951.0
:)

there was something on the language that sort of got rehauled around VM 3.2.0 from 3.0.18 causing other issues with language. Those who upgraded before already have it set so we're not affected.
Like it became a mandatory setting, basically..
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: vladast on December 01, 2017, 21:36:19 pm
Like described in my previous post. If we set shop language to the specific language everything will work, but if it set "global settings" then it will not recognize product/category details. For some reason VM doesn't include "global language settings".
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: gri2a on December 03, 2017, 17:39:48 pm
Pagination is still not working. Ive been having ongoing problems over all of the VM3 releases. Rather than going to my site, goto demo.virtuemart.net and scroll to the pagination it has Start-Previous-1-2-3-4-Next-Last. Goto Last. It takes you to page 4. Now choose Start. It stays on page 4 PROBLEM!!
Choose Previous (or 3), you goto3. Press Previous (or 2) you goto 2. This is Ok.
Now press Previous or 1. It stays on page 2.
This is EXACTLY the problem I am having on my site. Ive switched off the pagination in the template/html/pagination.php and it still happens. Ive set up pagination in other Joomla components and all is ok.
Its just a problem in Virtuemart I use VM 3.2.6 on Joomla 3.8.2 which I presume is the same at demo.virtuemart.net
GRI2A
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: jenkinhill on December 03, 2017, 19:28:24 pm
@gri2a the pagination problem seems to be a configuration issue. Using VM sample data the setting in Config/templates for Frontend default items per list view is 24.  Joomla default list limit is 25 (public $list_limit). Thus there is a conflict. On the list length selector while viewing pagination try selecting 15 or 30 - now pagination works correctly and the 24 in the dropdown list has vanished. Solution therefore is to set VM's Frontend default items per list view to 25.
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: gri2a on December 04, 2017, 07:59:50 am
Thanks Kelvyn
Changing the list setting to 25 fixed the problem, but it begs the question, why have VMsettings that get corrupted if they are not the same as Joomlas 25.
I have 6 categories with 9 products in each category. I was trying to set the page limit to 9, so that each category shows on its own page. This conflicts with Joomlas 25.... why bother have list length settings in VM3
Thanx for your help anyway
GRI2A
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: jenkinhill on December 04, 2017, 11:52:35 am
It is a change in Joomla that causes the problem. It is no longer easy to set your prefered pagination without editing Joomla core settings.
Title: Re: New stable release vm 3.2.6 released, complete list of changes
Post by: Ghost on December 05, 2017, 08:06:47 am
Search result links are broken. Many functional backlinks lost.

What's the purpose of having keyword always set? It creates ugly links by default (http://demo.virtuemart.net/manufacturer/default?keyword=). And can't check whether search is being performed or not since isset for keyword always returns true. We can check whether it's empty or not but then empty keyword is not seen as search.