Index: branches/RC/core/install/install_toolkit.php =================================================================== diff -u -r11610 -r11623 --- branches/RC/core/install/install_toolkit.php (.../install_toolkit.php) (revision 11610) +++ branches/RC/core/install/install_toolkit.php (.../install_toolkit.php) (revision 11623) @@ -573,6 +573,14 @@ $category->Create(); + $priority_helper =& $this->Application->recallObject('PriorityHelper'); + /* @var $priority_helper kPriorityHelper */ + + $event = new kEvent('c:OnListBuild'); + + // ensure, that newly created category has proper value in Priority field + $priority_helper->recalculatePriorities($event, 'ParentId = ' . $category_fields['ParentId']); + return $category; }