| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
An issue when updating the module | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
An issue when updating the module
I have installed the module (e.g. version 5.2.0) and I want to upgrade it to the new version (e.g. version 5.2.1)
Some files (that were present in the old version) is missing in the new version of the module. It is assumed that they will be removed during the upgrading. But, when I try to install the new version of the module with 'Upload add-on' button, it turns out that the old files were not removed. And the second time (when a new version (5.2.1) of the module is already installed and I install it one more time) they are removed as expected. It seems that an issue in the XLite\Upgrade\Entry\Module\Uploaded class. The 'getModuleInstalled' function searches for the module in the database using a new version (that not yet installed) and finds it only during re-installation (when a new version (5.2.1) of the module is already installed) so the 'loadHashesForInstalledFiles' function returns proper hashes. Can someone tell me if this is a bug or is there any trick to force the files to be deleted the first time?
__________________
X-Cart Trial 5.2.6 |
|||||||
#2
|
|||||||
|
|||||||
An issue when updating the module
I have installed the module (e.g. version 5.2.0) and I want to upgrade it to the new version (e.g. version 5.2.1)
Some files (that were present in the old version) is missing in the new version of the module. It is assumed that they will be removed during the upgrading. But, when I try to install the new version of the module with 'Upload add-on' button, it turns out that the old files were not removed. And the second time (when a new version (5.2.1) of the module is already installed and I install it one more time) they are removed as expected. It seems that an issue in the XLite\Upgrade\Entry\Module\Uploaded class. The 'getModuleInstalled' function searches for the module in the database using a new version (that not yet installed) and finds it only during re-installation (when a new version (5.2.1) of the module is already installed) so the 'loadHashesForInstalledFiles' function returns proper hashes. Can someone tell me if this is a bug or is there any trick to force the files to be deleted the first time?
__________________
X-Cart Trial 5.2.6 |
|||||||
#3
|
|||||||||
|
|||||||||
Re: An issue when updating the module
Please report this issue to our public bug-tracker, our developers will look into the possible bug. In your bug-report, please provide us with step-by-step instructions how to replicate this issue in a stock X-Cart v5.2.6, and provide us with your customer module, that can be used to replicate the issue.
Thank you.
__________________
Sincerely yours, Sergey Fomin X-Cart team Chief support group engineer === Check this out. Totally revamped X-Cart hosting http://www.x-cart.com/hosting.html Follow us: https://twitter.com/x_cart / https://www.facebook.com/xcart / https://www.instagram.com/xcart |
|||||||||
|
|||
X-Cart forums © 2001-2020
|