s/descendent/descendant/msg when calling getLineage
This commit is contained in:
parent
b97caae3c8
commit
f8c0cb1041
7 changed files with 9 additions and 7 deletions
|
|
@ -45,6 +45,8 @@
|
|||
- rfe: Paginate "manageCommittedVersions" (perlDreamer Consulting, LLC)
|
||||
- rfe: manageCommittedVersions in reverse chronological order (perlDreamer Consulting, LLC)
|
||||
- fix: Deploy package with calendar
|
||||
- fix: Mis-spelled argument to getLineage in Calendar, Clipboard and upgrade
|
||||
scripts (Thanks to Matthew Wilson, Veradox)
|
||||
|
||||
7.3.11
|
||||
- Added an option for enabling coverage tests to testCodebase.pl.
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ sub migrateCalendars {
|
|||
|
||||
# For every EventsCalendar
|
||||
#EventsCalendar.defaultMonth = Calendar.defaultDate
|
||||
my $calendars = WebGUI::Asset->getRoot($session)->getLineage(['descendents'],
|
||||
my $calendars = WebGUI::Asset->getRoot($session)->getLineage(['descendants'],
|
||||
{
|
||||
statesToInclude => ['published','trash','clipboard','clipboard-limbo','trash-limbo'],
|
||||
statusToInclude => ['pending','approved','deleted','archived'],
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ sub addThreadRatingColumn {
|
|||
$session->db->write("alter table Thread add column threadRating integer default 0");
|
||||
my $root = WebGUI::Asset->getRoot($session);
|
||||
my $threads = $root->getLineage(
|
||||
['descendents'],
|
||||
['descendants'],
|
||||
{
|
||||
returnObjects => 1,
|
||||
includeOnlyClasses => ['WebGUI::Asset::Post::Thread'],
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ sub fixEventGroups {
|
|||
my $session = shift;
|
||||
print "\tFixing Event groups for Events created since 7.3.0.....";
|
||||
|
||||
my $events = WebGUI::Asset->getRoot($session)->getLineage(['descendents'], {
|
||||
my $events = WebGUI::Asset->getRoot($session)->getLineage(['descendants'], {
|
||||
statesToInclude => ['published','trash','clipboard','clipboard-limbo','trash-limbo'],
|
||||
statusToInclude => ['pending','approved','deleted','archived'],
|
||||
includeOnlyClasses => ['WebGUI::Asset::Event'],
|
||||
|
|
|
|||
|
|
@ -371,7 +371,7 @@ sub duplicate {
|
|||
my $newCalendar = $self->SUPER::duplicate(@_);
|
||||
|
||||
# Duplicate the events in this calendar
|
||||
my $events = $self->getLineage(["descendents"], {
|
||||
my $events = $self->getLineage(["descendants"], {
|
||||
returnObjects => 1,
|
||||
includeOnlyClasses => ['WebGUI::Asset::Event'],
|
||||
});
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ sub getAssetsInClipboard {
|
|||
|
||||
my $root = WebGUI::Asset->getRoot($self->session);
|
||||
return $root->getLineage(
|
||||
["descendents", ],
|
||||
["descendants", ],
|
||||
{
|
||||
statesToInclude => ["clipboard"],
|
||||
returnObjects => 1,
|
||||
|
|
|
|||
|
|
@ -586,8 +586,8 @@ be useful, others may not.|,
|
|||
},
|
||||
|
||||
'assetsToInclude' => {
|
||||
message => q|An newline separated string containg the kids of assets to include in the Navigation, by relationship. Ancestors, the asset itself, siblings, descendents and/or pedigree.|,
|
||||
lastUpdated => 1164841201
|
||||
message => q|An newline separated string containg the kids of assets to include in the Navigation, by relationship. Ancestors, the asset itself, siblings, descendants and/or pedigree.|,
|
||||
lastUpdated => 1173814820
|
||||
},
|
||||
|
||||
'startType' => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue