Duplicate IDs in the database
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
For a single link: somehow, two rows in the database have the same ID pointing to the same object, which is wrong for a single link!
For a single link: somehow, two rows in the database have the same ID pointing to the same object, which is wrong for a single link!


The easiest way to check what is wrong is to use: [[Validate data in the database]].
The easiest way to check what is wrong is to use: [[Documentation:Validate data in the database|Validate data in the database]].
 
[[Category:MDriven Server]]
[[Category:MDriven Server]]
[[Category:Database]]
[[Category:Database]]
{{Edited|July|12|2024}}
{{Edited|July|12|2025}}

Latest revision as of 05:31, 27 February 2025

This page was created by Lars.olofsson@mdriven.net on 2023-02-20. Last edited by Stephanie@mdriven.net on 2025-02-27.

If you see messages like this in the log of the MDrivenServer:

Ambiguous values for <class>.<association> for id <xxxxx>. The following objects (ids) all refer to the same target: yyyyy, zzzzz

For a single link: somehow, two rows in the database have the same ID pointing to the same object, which is wrong for a single link!

The easiest way to check what is wrong is to use: Validate data in the database.

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments