fix: Incomplete asset cause manage Trash to fail

This commit is contained in:
JT Smith 2007-02-15 03:12:35 +00:00
parent 6e451a2b5c
commit 717429037d
3 changed files with 5 additions and 17 deletions

View file

@ -3,7 +3,7 @@
- fix: Various potential bugs in WebGUI::DateTime due to inheritence from
DateTime.
- fix: SQL Report: Paginate After
- fix: Incomplete asset cause manage Trash to fail
7.3.9
- fix: SQL Form and big table imports

View file

@ -954,9 +954,11 @@ sub definition {
my $session = shift;
my $definition = shift;
my $i18n = WebGUI::International->new($session, 'Asset_SQLForm');
push(@{$definition}, {
tableName=>'SQLForm',
className=>'WebGUI::Asset::Wobject::SQLForm',
name=>$i18n->get('assetName'),
icon=>'sqlform.gif',
properties=>{
formId => {
@ -1210,20 +1212,6 @@ sub getIndexerParams {
#-------------------------------------------------------------------
=head2 getName ( )
Return the internationalized name of the SQLForm.
=cut
sub getName {
my $self = shift;
my $i18n = WebGUI::International->new($self->session, 'Asset_SQLForm');
return $i18n->get('assetName');
}
#-------------------------------------------------------------------
=head2 processPropertiesFromFormPost ( )
Processes the data in the edit form of the SQLForm asset. In WebGUI 6.8.x there's no way to feed back any errors on

View file

@ -930,12 +930,12 @@ delete and restore but not purge records.</p>|,
},
'assetName' => {
message => q|SQLForm|,
message => q|SQL Form|,
lastUpdated => 0,
},
'edit sqlform' => {
message => q|SQLForm, Add/Edit|,
message => q|SQL Form, Add/Edit|,
lastUpdated => 0,
},