Fix a typo in WSClient which prevented it from adding/editing assets.
Make the whitespace test give some context to its failures. Fix a buglet in the label test.
This commit is contained in:
parent
785645b2b6
commit
5ddc168659
4 changed files with 7 additions and 3 deletions
|
|
@ -18,4 +18,5 @@
|
|||
- fix: User/Group problem
|
||||
- fix: Edit LDAP Connection
|
||||
- fix: SQL Report w/ pagination and nested queries
|
||||
- fix: Unable to add Web Services Client
|
||||
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ sub getEditForm {
|
|||
-name => 'templateId',
|
||||
-value => $self->getValue('templateId'),
|
||||
-namespace => "WSClient",
|
||||
-label => WebG$i18n->get(72),
|
||||
-label => $i18n->get(72),
|
||||
-hoverHelp => $i18n->get('72 description'),
|
||||
);
|
||||
$tabform->getTab("display")->yesNo (
|
||||
|
|
|
|||
|
|
@ -64,7 +64,10 @@ sub checkContent {
|
|||
foreach my $line (@content) {
|
||||
chomp $line;
|
||||
my $isPodWord = ($line =~ m/^=/);
|
||||
return 1 if ($isPodWord && !$podAllowed);
|
||||
if ($isPodWord && !$podAllowed) {
|
||||
diag $line;
|
||||
return 1;
|
||||
}
|
||||
# POD is allowed on next line if current line is empty
|
||||
$podAllowed = ($line eq '');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ sub getHelpLabels {
|
|||
|
||||
sub getHelpVariables {
|
||||
my ($variables) = @_; ##An arrayref of variables, possibly with nested variables in loops
|
||||
my $tmplVars;
|
||||
my $tmplVars = [];
|
||||
foreach my $var ( @{ $variables } ) {
|
||||
if ( exists $var->{variables} ) {
|
||||
push @{ $tmplVars }, @{ getHelpVariables($var->{variables}) };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue