Author: david
Date: Mon Nov 9 15:22:54 2009
New Revision: 3878
Log:
Cosmetic change - standardize row labels. --force
Modified:
trunk/lib/task/migrate/QubitMigrate107to108.class.php
Modified: trunk/lib/task/migrate/QubitMigrate107to108.class.php
==============================================================================
--- trunk/lib/task/migrate/QubitMigrate107to108.class.php Mon Nov 9
00:12:53 2009 (r3877)
+++ trunk/lib/task/migrate/QubitMigrate107to108.class.php Mon Nov 9
15:22:54 2009 (r3878)
@@ -689,7 +689,7 @@
{
foreach ($value as $name => $value)
{
- $key = rand();
+ $key = 'QubitProperty_'.rand();
$this->data['QubitProperty'][$key] = array();
$this->data['QubitProperty'][$key]['object_id'] = $id;
@@ -843,7 +843,7 @@
}
// Add default value for the SortTreeviewInformationObject setting
- $this->data['QubitSetting'][] = array(
+ $this->data['QubitSetting']['QubitSetting_sort_treeview'] = array(
'name' => 'sort_treeview_informationobject',
'editable' => 1,
'deleteable' => 0,
@@ -880,7 +880,7 @@
protected function alterQubitStatus()
{
// Assign default status to information object root
- $this->data['QubitStatus']['root_status'] = array(
+ $this->data['QubitStatus']['QubitStatus_root_status'] = array(
'object_id' => '<?php echo QubitInformationObject::ROOT_ID."\n" ?>',
'type_id' => '<?php echo QubitTerm::STATUS_TYPE_PUBLICATION_ID."\n" ?>',
'status_id' => '<?php echo QubitTerm::PUBLICATION_STATUS_DRAFT_ID."\n"
?>'
@@ -896,7 +896,7 @@
// collection roots and orphans
if ($value['parent_id'] == $rootKey)
{
- $this->data['QubitStatus']['publication_status_'.$key] = array(
+ $this->data['QubitStatus']['QubitStatus_publication_'.$key] = array(
'object_id' => $key,
'type_id' => '<?php echo QubitTerm::STATUS_TYPE_PUBLICATION_ID."\n"
?>',
'status_id' => '<?php echo
QubitTerm::PUBLICATION_STATUS_PUBLISHED_ID."\n" ?>'
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---