fix 6.99 nothing write to assetData.groupIdView & assetData.groupIdEdit
This commit is contained in:
parent
33272fd76c
commit
1d239bb7e0
2 changed files with 3 additions and 2 deletions
|
|
@ -27,6 +27,7 @@
|
||||||
- All assets now have an autoGenerateForms property just like wobjects per the
|
- All assets now have an autoGenerateForms property just like wobjects per the
|
||||||
rough edges discussions in Community IRC.
|
rough edges discussions in Community IRC.
|
||||||
- fix: not set UTF-8 in setup page
|
- fix: not set UTF-8 in setup page
|
||||||
|
- fix: 6.99 nothing write to assetData.groupIdView & assetData.groupIdEdit
|
||||||
|
|
||||||
6.99.2
|
6.99.2
|
||||||
- fix - demo.plainblack.com getting started
|
- fix - demo.plainblack.com getting started
|
||||||
|
|
|
||||||
|
|
@ -80,8 +80,6 @@ sub addRevision {
|
||||||
$newSelf->update({
|
$newSelf->update({
|
||||||
isHidden => 1,
|
isHidden => 1,
|
||||||
dateUpdated=>$now,
|
dateUpdated=>$now,
|
||||||
groupIdView=>$newSelf->getThread->getParent->get("groupIdView"),
|
|
||||||
groupIdEdit=>$newSelf->getThread->getParent->get("groupIdEdit"),
|
|
||||||
});
|
});
|
||||||
$newSelf->getThread->unmarkRead;
|
$newSelf->getThread->unmarkRead;
|
||||||
return $newSelf;
|
return $newSelf;
|
||||||
|
|
@ -697,6 +695,8 @@ sub postProcess {
|
||||||
$data{content} .= "<p>\n\n --- (".$i18n->get('Edited_on')." ".$self->session->datetime->epochToHuman(undef,"%z %Z [GMT%O]")." ".$i18n->get('By')." ".$user->profileField("alias").") --- \n</p>";
|
$data{content} .= "<p>\n\n --- (".$i18n->get('Edited_on')." ".$self->session->datetime->epochToHuman(undef,"%z %Z [GMT%O]")." ".$i18n->get('By')." ".$user->profileField("alias").") --- \n</p>";
|
||||||
}
|
}
|
||||||
$data{url} = $self->fixUrl($self->getThread->get("url")."/1") if ($self->isReply && $self->isNew);
|
$data{url} = $self->fixUrl($self->getThread->get("url")."/1") if ($self->isReply && $self->isNew);
|
||||||
|
$data{groupIdView} = $self->getThread->getParent->get("groupIdView");
|
||||||
|
$data{groupIdEdit} = $self->getThread->getParent->get("groupIdEdit");
|
||||||
$self->update(\%data);
|
$self->update(\%data);
|
||||||
my $size = 0;
|
my $size = 0;
|
||||||
my $storage = $self->getStorageLocation;
|
my $storage = $self->getStorageLocation;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue