4.1 Import issues

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

4.1 Import issues

Postby IT2Be » Thu Dec 04, 2008 12:26 am

Today a client reported issues importing a 3.5 export into her repository of 4.1. The error is below:
Importing it2be-calendar.servoy...
[info] Import contains XML version 10 and repository version 27.
[error] com.servoy.j2db.persistence.RepositoryException: Parent of element 10242 has changed.


I picked up another export from 4.0 this time and now the error is:
Importing it2be-calendar.servoy...
[info] Import contains XML version 14 and repository version 35.
[error] com.servoy.j2db.persistence.RepositoryException: Parent of element 10229 has changed.


Any idea where this comes from?

I have seen something about this but can't seem to find it anymore :(
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: 4.1 Import issues

Postby lvostinar » Thu Dec 04, 2008 11:17 am

It finds in the repository a element with that id but with a different parent id compared with import file.
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: 4.1 Import issues

Postby IT2Be » Thu Dec 04, 2008 11:52 am

It finds in the repository a element with that id but with a different parent id compared with import file.
OK, that is nice to know but how do I solve this.
Is it enough to delete the old releases?

And, how can this happen and how can I prevent this from happening?
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: 4.1 Import issues

Postby lvostinar » Thu Dec 04, 2008 12:01 pm

I am not sure when this happens. You can investigate this by looking for the id in the repository and in servoy file, this may reveal what happened. Or open a case and we will have a look.
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: 4.1 Import issues

Postby IT2Be » Thu Dec 04, 2008 12:41 pm

But for now, can this be solve by deleting the old revisions?
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: 4.1 Import issues

Postby lvostinar » Thu Dec 04, 2008 1:11 pm

Yes, I think this would solve the problem.
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 21 guests