merging forward 6.8.8 bugfix of [ 1423434 ] 6.8.5 - Versioning - users can see uncommitted data
This commit is contained in:
parent
0197f6f1bd
commit
9ff3308126
3 changed files with 5 additions and 3 deletions
|
|
@ -65,6 +65,7 @@
|
||||||
- fix [ 1429389 ] 6.9: "1" appended to HTML
|
- fix [ 1429389 ] 6.9: "1" appended to HTML
|
||||||
|
|
||||||
6.8.8
|
6.8.8
|
||||||
|
- fix [ 1423434 ] 6.8.5 - Versioning - users can see uncommitted data
|
||||||
- fix [ 1437186 ] 6.8.7 deploy DataForm package does not copy fields
|
- fix [ 1437186 ] 6.8.7 deploy DataForm package does not copy fields
|
||||||
- fix [ 1437563 ] Data picker intermittent for Admin
|
- fix [ 1437563 ] Data picker intermittent for Admin
|
||||||
- fix broken link to top of CS Assets configured as FAQs
|
- fix broken link to top of CS Assets configured as FAQs
|
||||||
|
|
|
||||||
|
|
@ -196,7 +196,7 @@ sub definition {
|
||||||
status=>{
|
status=>{
|
||||||
noFormPost=>1,
|
noFormPost=>1,
|
||||||
fieldType=>'hidden',
|
fieldType=>'hidden',
|
||||||
defaultValue=>'approved'
|
defaultValue=>'pending'
|
||||||
},
|
},
|
||||||
assetSize=>{
|
assetSize=>{
|
||||||
noFormPost=>1,
|
noFormPost=>1,
|
||||||
|
|
|
||||||
|
|
@ -69,8 +69,9 @@ sub addRevision {
|
||||||
my $newVersion = WebGUI::Asset->new($self->session,$self->getId, $self->get("className"), $now);
|
my $newVersion = WebGUI::Asset->new($self->session,$self->getId, $self->get("className"), $now);
|
||||||
$newVersion->updateHistory("created revision");
|
$newVersion->updateHistory("created revision");
|
||||||
$newVersion->update($self->get);
|
$newVersion->update($self->get);
|
||||||
$newVersion->setVersionLock;
|
$newVersion->{isLockedBy} = $self->session->user->userId;
|
||||||
$newVersion->update($properties) if (defined $properties);
|
$properties->{status} = 'pending';
|
||||||
|
$newVersion->update($properties);
|
||||||
return $newVersion;
|
return $newVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue