Duplicate IDs in the database
(Created page with "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 tar...")
 
(Automatically adding template at the end of the page.)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If you see messages like this in the log of the MDrivenServer
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
  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 has 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 the [[Validate data in the database]]
The easiest way to check what is wrong is to use the [[Validate data in the database]].
[[Category:MDriven Server]]
[[Category:Database]]
{{Edited|July|12|2024}}

Latest revision as of 15:34, 10 February 2024

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 the Validate data in the database.

This page was edited 98 days ago on 02/10/2024. What links here