Page 1 of 1

Error on import: Root object of element html has changed

PostPosted: Mon Dec 18, 2017 12:44 pm
by japink.m
Hello,

I can't get a solution imported in the application server. Whatever I try it keeps returning: [error] Root object of element html has changed (object has been moved).
I have no idea what causes the problem and more important how to solve it.

I' am running Servoy 8.1.1 .
My solution is a weblclient solution with 3 modules tied to it.

Any help would be greatley apprecieated!
Thanks in advance
Maarten

Re: Error on import: Root object of element html has changed

PostPosted: Mon Dec 18, 2017 2:52 pm
by jdbruijn
This error happens when you move code from one module to another. Try a clean install of the solution on the application server.
First remove all the solution, restart the server and try to import the solution again.

Re: Error on import: Root object of element html has changed

PostPosted: Mon Dec 18, 2017 4:14 pm
by japink.m
Thanks for your answer.
I have already removed the solution and tried a clean install. But it doesn't work. Do I also have to remove the solutions where I copied from?
So I can not have both solutions on the same application server?

Re: Error on import: Root object of element html has changed

PostPosted: Mon Dec 18, 2017 4:52 pm
by jdbruijn
If I understand the error message you have moved an element named html from one solution/module (A) to another (B). This will give you a conflict on the server because Servoy has a reference to this element in the repository that it is part of solution A.
So you have to remove both solutions/modules from the server and import the latest version for both where the element is part of B instead of A.

Re: Error on import: Root object of element html has changed

PostPosted: Mon Dec 18, 2017 6:26 pm
by japink.m
Hey Jos,

I never suspected the html function. I thought it was a html tag somewhere deep down in the servoy generated code. No one to blame but me.
Thank you very much for pointing me out. I renamed the function ->All up and running now.