Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Document Translation handling creates self-relating records #4380
There should never be a
they can have the same value.
Steps to reproduce
Simply create a new document translation to the document itself in the backend. (yes it would be silly to do this, but why not check the id and throw an error before inserting it?)
Let's say you have a document with the id 44 in german and one with id 45 in english. You link 44 with 45, which works well and looks like this in
If you open 45, you are able to also link it. If you link 45 with 44 the table
where the de part points to itself.
Also, in general, it is not really clear why the table is build like this. Why a