Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/f2de5b5b5c9fbebb#

There is foreign key update problem in temp handler. When you create
sub-item record in temp table, then kDBItem::setTempID() method is called
and temporary (negative) ID is assigned to that item. This is done to
prevent ID conflicts, when record will be copied to live table later. When
that subitem has it's own sub item, then temporary ID is populated to it as
well. Later, when data is copied to live table all temporary IDs in all
related tables are replaced with live IDs.

...

http://www.in-portal.com
http://www.alex-time.com

foreign_key_update_problem.patch