Migration Tool - Bugs & Issues - Bugs & Issues - Progress Community
 Bugs & Issues

Migration Tool

  • Migration Tool
  • I've been testing the Migration Tool on a large 3.7 SP3 site that's been in development for about 8 months and I am anxious to get on 4.0 asap.

    Prior to today I've been having some luck with this tool with some issues I'll discuss in more detail later. I realize it's still an alpha release.

    Here is the most recent issue I just found.

    I just downloaded and installed the latest 4.0 RC (4.0.992.0) and the latest version of the Migration Tool (0.3 Alpha) both released today. I've upgraded all the sites (with no issues) and all the items for the migration have been reinstalled.

    The web service for 3.7 seems to be running fine. Upon, installing the 4.0 part and then relaunching the application... when I go to Migration, I get this error. "The file 'applicationname/SessionPage.aspx' does not exist."

    Can you please address this.




  • Hi Bryan,

    It seems there is some testing line of code left out before the SVN check-in - in Sitefinity4.0/PublicControls/BackendOverviewControl.cs there is a method

    protected override void InitializeControls(GenericContainer controlContainer)

    and its first line is

    var page = BuildManager.CreateInstanceFromVirtualPath("~/SessionPage.aspx", typeof(Page));

    Simply remove this line and everything should be fine.

    Regards
  • I've been trying to get the migration tool compiled, but am having some trouble. The 4.0 parts compiled just fine, but on the 3.7 side I get "[resource] does not contain a constructor that takes [#] arguments" etc. I'm running 3.7.2022...is there a minimum compatible version? I couldn't fin it listed anywhere.

    Thanks!
  • Hi Matt,

    You have to use Sitefinity 3.7 SP3( build 2096) or 3.7 SP4( build 2136).

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • Loving the new advancements. True sign of a good company is they listen to their customers and you're doing just that. Keep up the good work.

    Few things I thought I'd mention with the current version 4884.

    1. When importing page groups it puts them all at the route level. I have page groups inside of page group inside of more page groups. They all end up on the same level.

    2. It appears that when it migrates users and roles it associates all pages to the owner of the last imported user account. In other word after it's done importing everything it changes the owner of all pages to the last user it imports. Or maybe it's the first, either way, it's not the original owner of the page.

    3. After importing the pages it's not allowing me to delete some of those pages.

    4. It automatically enables translations for all pages.

    I'll likely have more later. The pages are actually working, but it appears they are being associated with the templates and themes that were imported. I have a feeling the reason they're not working now is because there's some custom functionality in my templates that's causing the problem. I'll let you know if that is definitely the case.
  • Hi Bryan Webster,

     Thank you very much for reporting these issues. Going through the list:

    1. This indeed was an issue and I have fixed it in the latest change set 5006, uploaded to codeplex.
    2. This also has been fixed in this change set.
    3. Are you trying to delete the page programmatically or via the UI? I'm testing with one of our corporate sites with 534 pages and I'm able to delete them all without problem using the UI.
    4. I'm not quite following what is the issue here, could you please explain with more details?

    Regards,
    Lupi
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • Lupi,

    Feel's like we work in the same office. I like that. There's an issue and you fix. Awesome! This is really starting to become a very solid solution. I'm getting excited. You're hard work is not going unnoticed. :D

    Here's my latest.

    First to respond to the below.

    3. I was trying to delete pages through the UI. It would allow me to delete some pages under some page groups, but not the page groups themselves. Haven't try deleting pages or page groups since your most recent version, so can't say for sure if it's still doing this.
    4. Localization, is I believe another name for it. It's being enabled automatically. When on the pages view I now have the ability to choose an ES, FR, DE, and BG under the translations column next to each page.

    Here are my latest observations. I'll rank these in order of most important to least important.
    1. All widget (controls) on pages have they're permissions set to be viewable by administrator only by default after import. This should be viewable by everyone by default. As you can imagine, going into more than 750+ pages and having to enable each and every widget to viewable to everyone is too much work. From what I can see there is no way to change the widgets permissions all in one action.
    2. Widgets (Controls) that exist in 4.0 that have existing conterparts in 3.7 should automatically associate themselves with the right control in 4.0. Example: The image control. Even though the control is both in 3.7 and 4.0 I get the (Error migrating control of type Telerik.Cms.Engine.WebControls.SitefinityImage, Telerik.Cms.Engine, Version=3.7.2096.2, Culture=neutral, PublicKeyToken=dfeaee0e3978ac79 - not supported) message.
    3. Inside the Content Blocks on my pages I get the content (the html etc.), but, links to image and documents that exist in libraries are not resolving as they should. Nothing shows up in place of what was there (images, document links) and in the html inside the content block it looks like this (<img sfref="[Libraries]59fcad59-953c-49b6-8634-84ad2d0c3cf6" style="float: right; margin-left: 10px;" alt="Teacher at Head of Class" src="#Link.Not.Resolved#" class="border" />)
    4. When migrating, selecting all only brings in the users and roles the first time I run it. I have to run it again to bring in everything else (by selecting all that didn't come over an running again). Not a big deal, but just thought I'd make you aware.
    5. Pages didn't automatically work for me directly after migrating. Got, I believe, a 404 error, instance of null or somethinge like that. Obviously, I know that it doesn't currently bring images for your themes, it also doesn't bring in other files, like external javascripts. Upon closing the sitefinity dev server, going into VS and bring in all my scripts and images and updating my CSS to your new template and theme file structure and the recompiling the app, When I launched the Sitefinity dev server and project again all was well. Page worked and so did my templates and themes. Anybody having trouble here should definitely see this. tv.telerik.com/.../spontaneous-installation-design-with-sitefinity-40-rc

    Thanks Lupi!!
  • Forgot to mention the most recent version of the migration tool that I have installed is 5017 and 4.0.992.0
  • Hello Bryan Webster,

     Thank you again for your feedback. I checked-in some changes that address the following issues:

    1. I'm adding permissions to controls now but it doesn't seem to work at 100% - some controls still aren't viewable unless you're logged in the back end.

    2. I added this image control - it is an extension to the regular Image control. I will test it to see how it works.

    3. I don't parse these special links (with sfref). You can expect this in some of the next check-ins.

    4. There was an issue with users and metadata definitions, but it should work fine with the latest change set.

    5. I made some modifications to the code, so these issues should be sorted.

    All the best,
    Lupi
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • Hey Lupi,

    Noticed that the version for download of the migration tool is still 5017 (the one I've already tested). These changes don't appear to be in that version. Do you have a newer version ready and just not uploaded yet? Just curious, when you say checked-in, what does that mean?
  • Hello Bryan,

    You can download the latest version if you go to this address -

    http://sitefinitymigration.codeplex.com/SourceControl/list/changesets

    There is a label "Latest Version" with links to Download and Browse. Click Download to get latest change set - 5376. 

    Regards,
    Lupi
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • Hey Lupi,

    Just got back to testing and wanted to try the newest 5635 release to see how thing are coming along.

    Migration Export Service project seemed to open and compile down fine. When I tried to open the migration project (the 4.0 part) I got a warning saying the "source control provider associated with the solution could not be found". Whether I choose to remove the souce control bindings or not, it seems to be missing some stuff and throws errors when I try to compile the project.

    Can you have a look at it?
    Thanks
    Bryan
  • Hello Bryan Webster,

    I uploaded a new Change Set 5763 - actually it's just the project file for the 4.0 project that fixes these issues. I am sorry for the inconvenience.

    Best wishes,
    Lupi
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • Hey Lupi,

    Just got done trying the official sitefinity 4.0 release (4.0.1098.0) with the latest change set of the migration tool (5887).

    It seems to time out during migration a lot. About every 3-5 minutes. Sometimes it crashes the sitefinity integrated server and I have to close down and restart it. And start the migration over and over again.

    I have several questions.
    Are you the only developer working on this tool?
    If so, can you request other developers join you to elevate the priority of completing this tool sooner?
    Do you have a time frame you expect this tool to be completed?

    I've been testing this for a while now and it's getting closer, but I feel like I'm spending too much time testing without being able to say I'm any closer to getting upgraded to 4.0.

    It's imperative that we be able to make the transition to 4.0 successfully and as soon as we can.