Can't Import Solution

Hey Guys,

Here’s one that I haven’t come across before. When importing a new solution - I get this message:

[error] Root object of element 138874 has changed (object has moved)

Ummmmm… what is “element 138874” - and how can I fix it?

Thanks!

Bob

It sounds like something has been moved from one solution to another (root object = solution changed). We don’t support that because when you roll back one version of one of the solutions involved, you’d have the item twice (or not at all).

Not sure if you can do that, but a sure fix is to delete all solutions from the repository and import the whole solution fresh.

Already did that.

Deleted the solution and all modules - then tried to re-import as a single import.

Got the same message.

Then I imported all the pieces (1 main solution and 2 modules) individually - and there was no complaint.

However, I cannot import NEW version of the solution - I get the same message.

So… after importing the separate modules individually - I tried a “clean” import and it worked.

Then I deleted the clean import, restarted the server, and tried to do a clean import of the solution WITH the other two modules.

It just sat there (I let it run 40 minutes) - with no errors.

Any ideas?

No errors showing up in admin page or not even in log file? Can you still click around on the admin page?
I would backup (if needed) the repository DB and start with a completely new empty one to see if that helps.

Are all the .servoy files that you are using exported from latest sources? I mean: you don’t use some older exports and afterwards some newer ones - where that same object has still changed parents between the two exports, right?

I had the latest of every solution.

No errors showing up in admin page or log file.

I finally just backed up the repository database, created a new one and re-imported all the solutions (a huge pain-in-the-ass) - but it worked.

If it just keeps sitting there when you do an import, then you very likely have a deadlock in the database (1 update is waiting for the other and visa versa)

This you can see when you dump the stack from the admin page.