fix 6.99 nothing write to assetData.groupIdView & assetData.groupIdEdit

This commit is contained in:
JT Smith 2006-06-01 02:11:57 +00:00
parent 33272fd76c
commit 1d239bb7e0
2 changed files with 3 additions and 2 deletions

View file

@ -27,6 +27,7 @@
- All assets now have an autoGenerateForms property just like wobjects per the
rough edges discussions in Community IRC.
- fix: not set UTF-8 in setup page
- fix: 6.99 nothing write to assetData.groupIdView & assetData.groupIdEdit
6.99.2
- fix - demo.plainblack.com getting started

View file

@ -80,8 +80,6 @@ sub addRevision {
$newSelf->update({
isHidden => 1,
dateUpdated=>$now,
groupIdView=>$newSelf->getThread->getParent->get("groupIdView"),
groupIdEdit=>$newSelf->getThread->getParent->get("groupIdEdit"),
});
$newSelf->getThread->unmarkRead;
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{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);
my $size = 0;
my $storage = $self->getStorageLocation;