Updates:
        Status: QA-Review

Comment #11 on issue 2384 by [email protected]: EAD - dates not importing
http://code.google.com/p/qubit-toolkit/issues/detail?id=2384

Thank you Tim and Simon, your effort is much appreciated.

I couldn't find neither the situation where the problem can be reproduced. In the other hand, I think that getCreationEvents() is not working as expected during the import because as the time that it is called the id property has not been populated yet (not until the object is persisted in the database).

I'm unclear on #c7 because you are basically taking an event from another information object and linking it to the new object. $event->save() wasn't working because the information_object_id value is not changed, but by adding the object to the events array ($this->events[] = $event) you are basically re-linking it to the new information object. It would disappear from your previous imported object. In the same file, take a look at the save method, you'll find that after the object is saved every object in the events array is iterated, re-linked and saved.

As of r12025, a separate date event is added as Tim suggested.
Simon, let us know if this solution worked for you.

Thank you again!

--
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