Skip to content

Commit

Permalink
Item14237: Added missing srcFile key
Browse files Browse the repository at this point in the history
  • Loading branch information
vrurg committed Oct 13, 2017
1 parent 0bbcef7 commit c0e5386
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/lib/Foswiki/Config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4056,6 +4056,7 @@ sub _fetchOptVal {
. $option . "' "
. $errorSuffix,
section => $spec->section,
srcFile => $spec->source,
) unless defined $argCount;

Foswiki::Exception::Config::BadSpecData->throw(
Expand Down Expand Up @@ -4289,6 +4290,7 @@ sub _specCfgKey {
. $prevKeyType . "'",
section => $section,
key => $keyFullName,
srcFile => $specs->source,
)
if ( $prevKeyType ne $keyType )
&& !( $isEnhancing && $keyType eq 'VOID' );
Expand Down

0 comments on commit c0e5386

Please sign in to comment.