Updates:
        Labels: Performance

Comment #12 on issue 1712 by [email protected]: QubitObject -> transient objects issue
http://code.google.com/p/qubit-toolkit/issues/detail?id=1712

Temporary solution in r7767, drop transient because is causing many bugs.

We have to try to make transient work but probably not in release 1.1

From David Juhasz:
----------------------------------------------
I did a bunch of research into the reason why the language and script properties are not being updated properly. The problem in this case is that we are trying to update an existing property, and the $propertys->transient method only returns related properties that have been *added* to the record with the $this->resource->propertys[] = foo; syntax.

I don't have a good solution to the problem right now, but I would prefer to find some way to flag an updated property so it is saved when the record is saved. The reason I switched to using the $propertys->transient array is that updating all of the related propertys, events, etc. on *every* save of a resource is causing a significant slowdown, especially when importing a batch of records.

That said, we may have to revert to just looping through $resource->propertys for Release 1.1 and figure out a long-term fix for Post 1.1. Maybe if we switch to Doctrine for an ORM it will solve this problem for us. :-P

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