Comment #8 on issue 1590 by [email protected]: data-load fails if QubitRepository has entity_type_id
http://code.google.com/p/qubit-toolkit/issues/detail?id=1590

Actually, I have just realized that you don't need to set a type. Follow these steps to reproduce this issue:

1) Fresh install
2) Create a new blank repository
3) data-dump
4) data-load

Unable to execute INSERT statement. SQL: "INSERT INTO actor (`ID`,`PARENT_ID`,`LFT`,`RGT`,`SOURCE_CULTURE`) VALUES (:p1,:p2,:p3,:p4,:p5)" (actor.ID => '278', actor.PARENT_ID => 'QubitActor_3', actor.LFT => '5', actor.RGT => '6', actor.SOURCE_CULTURE => 'en') [wrapped: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`qubit`.`actor`, CONSTRAINT `actor_FK_5` FOREIGN KEY (`parent_id`) REFERENCES `actor` (`id`))]

I am trying to figure out why "QubitActor_3" isn't being translated to its id value.

--
You received this message because you are subscribed to the Google Groups "Qubit 
Toolkit Issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-issues?hl=en.

Reply via email to