4.1 Import issues

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 :(

It finds in the repository a element with that id but with a different parent id compared with import file.

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?

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.

But for now, can this be solve by deleting the old revisions?

Yes, I think this would solve the problem.