Migration 3.8 to 4 with customization

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi,

As I'm completely new to NOP, I need to perform a migration from 3.8 to 4.0.
The source code is personalized, thus it's different from the original 3.8 repository.

Can someone explain me in details what should I do to achieve the migration?

Should I start a new project in NOP 4 and manually copy/paste all customization code, upgraded to .Net Standard framework for all developped plugins ?

Should I try to execute scripts on customized 3.8 nop project ?

I need some advices as I'm a bit lost.

Thanks
6 years ago
What are the customizations and how did you implement it?
If you changed the standad nop libraries I storngly suggest you to create a custom plugin with all your custom logic for further upgrades.
Moreover a lot of stuffs are different, a simply copy paste won't work.
The same about the SQL upgrade. If you changed the nop schema it will probably fail.
6 years ago
Cladoo wrote:
Hi,

As I'm completely new to NOP, I need to perform a migration from 3.8 to 4.0.
The source code is personalized, thus it's different from the original 3.8 repository.

Can someone explain me in details what should I do to achieve the migration?

Should I start a new project in NOP 4 and manually copy/paste all customization code, upgraded to .Net Standard framework for all developped plugins ?

Should I try to execute scripts on customized 3.8 nop project ?

I need some advices as I'm a bit lost.

Thanks


@Thanks opso ...

Should I start a new project in NOP 4 and manually copy/paste all customization code? Yes. It will better.

And also check with the Update script. it may work with any error if you have no schema changes.  You have to update your own SP

Note: Don't forget backup.
6 years ago
Hi both and thanks for your replies.

I don't have the project right now but all I know is that it has been customized by previous développers. I can't know how they work and if they follow the best practices (D.I., plugin,partial classes ...) but I can imagine they updated the original source code which may lead to troubles for next updates
If you have any advices or troubleshoot you think I may encounter please you are all welcome

Regards
6 years ago
Do a Diff (e.g. using KDiff or similar) of the original ver 3.80 code vs. the custom 3.80 code, to see what changes they made.  Then try to apply those changes to the 4.00 code.  Try to identify/work one 'feature' at a time, or similar.  Tedious, yes.  But is probably the best way.
6 years ago
It's exactly what I planned to do. I'm glad to see it appears to be the correct path to handle this migration

Thanks again to all
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.