]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/RequirementSpecComplexity.pm
Pflichtenhefte bearbeiten
[mfinanz.git] / SL / DB / RequirementSpecComplexity.pm
index 279a9c9ec54fe5fe8976af66b50757fe275c01f4..2ec63feffd240698baf39396941649386d3cd146 100644 (file)
@@ -11,7 +11,8 @@ sub validate {
   my ($self) = @_;
 
   my @errors;
-  push @errors, t8('The description is missing.') if !$self->description;
+  push @errors, t8('The description is missing.')    if !$self->description;
+  push @errors, t8('The description is not unique.') if  $self->get_first_conflicting('description');
 
   return @errors;
 }