Author: sevein
Date: Fri Sep 25 15:30:10 2009
New Revision: 3538
Log:
Postpone updateOtherNames call after actor is saved becase actor id is
necessary.
Modified:
trunk/apps/qubit/modules/actor/actions/editAction.class.php
Modified: trunk/apps/qubit/modules/actor/actions/editAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/actor/actions/editAction.class.php Fri Sep 25
14:54:59 2009 (r3537)
+++ trunk/apps/qubit/modules/actor/actions/editAction.class.php Fri Sep 25
15:30:10 2009 (r3538)
@@ -96,7 +96,6 @@
if ($request->isMethod('post'))
{
$this->updateActorAttributes();
- $this->updateOtherNames();
$this->updateTermOneToManyRelations();
$this->updateProperties();
$this->updateActorRelations();
@@ -108,6 +107,8 @@
$this->actor->save();
+ $this->updateOtherNames();
+
//set redirect if actor edit was called from another module
if ($this->getRequestParameter('repositoryReroute'))
{
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" 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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---