We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89903ad commit cb29af2Copy full SHA for cb29af2
1 file changed
lib/GADS/View.pm
@@ -338,6 +338,10 @@ sub write
338
length $self->name < 128
339
or error __"View name must be less than 128 characters";
340
341
+ # Names consisting of just whitespace characters cause issues when displaying a view
342
+ $self->name !~ /^\s*$/
343
+ or error __"View name must not contain only whitespace characters";
344
+
345
my $global = !$self->layout->user ? 1 : $self->global;
346
347
$self->clear_writable; # Force rebuild based on any updated values
0 commit comments