Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Changing Versions for Custom Modules

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #21  
Old 04-09-2015, 06:41 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Changing Versions for Custom Modules

Now why data is wiped out if module is disabled? The module is still there. Not uninstalled. It is simple not active. So if I have a module run for 6 months and data is save din tables, then I disable it for any reason all this history will be lost? And when I enable it again in a week or so everything starts from the beginning? This doesn't make sense.

Imagine a module which adds additional data to completed orders, like some custom shipping data. Now all this will disappear if I disable the module? This is history of the store operations. It should stay intacked. What if customer asks or wants to know about this data 2 months from now, or it is needed to provide prof of delivery or something...

I understand the module has the way to collect, save and print this data and when it is disabled there is no way of doing it but to wipe out all of the previously recorded data is just not right. Not to mention in many countries it is actually the law to keep these records for minimum of X years... You can't just delete them because of this or that.

I am not sure how you can solve something like this but obviously the way it is right now is not right.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
totaltec (04-09-2015)
  #22  
Old 04-09-2015, 09:04 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Changing Versions for Custom Modules

Hi Steve,

If you ask why we wipe the data, the answer is "we don't". The data is not deleted intentionally.

We agree that how it works now is not right, and the XC5 dev team will look into this.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote

The following 2 users thank qualiteam for this useful post:
totaltec (04-09-2015), zychen (04-09-2015)
  #23  
Old 04-09-2015, 06:40 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Changing Versions for Custom Modules

I am so glad that this is being looked into. This has been a source of major frustration for me, not only this time 5.1-5.2 but the previous major upgrade as well.

We need to deal with this. We need a way to include our custom modules outside of the marketplace. I think we all understand that this poses a serious problem for custom development.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #24  
Old 04-10-2015, 05:02 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Changing Versions for Custom Modules

Quote:
Originally Posted by cflsystems
Now why data is wiped out if module is disabled? The module is still there. Not uninstalled. It is simple not active. So if I have a module run for 6 months and data is save din tables, then I disable it for any reason all this history will be lost? And when I enable it again in a week or so everything starts from the beginning? This doesn't make sense.

Imagine a module which adds additional data to completed orders, like some custom shipping data. Now all this will disappear if I disable the module? This is history of the store operations. It should stay intacked. What if customer asks or wants to know about this data 2 months from now, or it is needed to provide prof of delivery or something...

I understand the module has the way to collect, save and print this data and when it is disabled there is no way of doing it but to wipe out all of the previously recorded data is just not right. Not to mention in many countries it is actually the law to keep these records for minimum of X years... You can't just delete them because of this or that.

I am not sure how you can solve something like this but obviously the way it is right now is not right.

Steve, what you are suggesting is right. I agree that this is not working properly at the moment.

The real problem is we cannot change this right now, because 5.2.2 is designed to be upgraded from 5.1.11 and we cannot ship 5.1.12 that fixes the problem.

I am sorry that this problem is here at the moment.

However, the problem will be fixed in 5.2.x branch and next major upgrade will work smoothly.

Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote

The following user thanks tony_sologubov for this useful post:
zychen (04-10-2015)
  #25  
Old 04-10-2015, 05:46 AM
  zychen's Avatar 
zychen zychen is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 48
 

Default Re: Changing Versions for Custom Modules

Quote:
Originally Posted by tony_sologubov
Steve, what you are suggesting is right. I agree that this is not working properly at the moment.

The real problem is we cannot change this right now, because 5.2.2 is designed to be upgraded from 5.1.11 and we cannot ship 5.1.12 that fixes the problem.

I am sorry that this problem is here at the moment.

However, the problem will be fixed in 5.2.x branch and next major upgrade will work smoothly.

Tony

I don't think we expect a fix for 5.1.x but I definitely hope that we don't face similar issues after 5.2.x, be best to note it down in a todo list!
__________________
X-Cart 5.1.10
X-Cart Next 5.2.1 Beta
Reply With Quote
  #26  
Old 04-10-2015, 07:05 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Changing Versions for Custom Modules

As above - I don't think anyone expects you to go back and fix 5.1.x. What everyone is after though is if they are on 5.1.x they can upgrade to 5.2.x without problems. But this is not happening either.

What I understand from your response is that this will be fixed for 5.2.x to 5.3.x. Question - how is the upgrade from 5.1.x to 5.2.x to be done now since there are these major issues?

Unfortunately so far I see the forum full of users which stores either cannot be upgraded or end up broken by the upgrade. I am sure there are some for which everything was ok but it seems the majority of XC5 is sadly just not working...

Hopefully you find a way for 5.1.x to upgrade to 5.2.x as well
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #27  
Old 04-10-2015, 07:48 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Changing Versions for Custom Modules

Quote:
Originally Posted by cflsystems
What I understand from your response is that this will be fixed for 5.2.x to 5.3.x. Question - how is the upgrade from 5.1.x to 5.2.x to be done now since there are these major issues?

As I suggested earlier, you can dump custom parts of the database (new tables and new fields in existing tables) and then transfer the data manually.

I agree, this is a time-consuming approach, but this will work.

Quote:
Originally Posted by cflsystems
Unfortunately so far I see the forum full of users which stores either cannot be upgraded or end up broken by the upgrade. I am sure there are some for which everything was ok but it seems the majority of XC5 is sadly just not working...

Most of the reports on forum related to the problem with improperly updated modules:
http://blog.x-cart.com/5-2-3-upgrade-issue-fix-for-the-users-running-MySQL-5-6.html

5.2.3 release and newsletter to X-Cart 5 module developers are ways how we are making upgrade from 5.1.x to 5.2.x smoother.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:20 AM.

   

 
X-Cart forums © 2001-2020