1 package SL::DB::RequirementSpecPredefinedText;
5 use SL::DB::MetaSetup::RequirementSpecPredefinedText;
6 use SL::DB::Manager::RequirementSpecPredefinedText;
7 use SL::DB::Helper::ActsAsList;
8 use SL::DB::Helper::AttrHTML;
9 use SL::Locale::String;
11 __PACKAGE__->meta->initialize;
13 __PACKAGE__->attr_html('text');
19 push @errors, t8('The description is missing.') if !$self->description;
20 push @errors, t8('The description is not unique.') if $self->get_first_conflicting('description');
21 push @errors, t8('The title is missing.') if !$self->title;