Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LemonLDAP NG
lemonldap-ng
Commits
0ffb9a46
Commit
0ffb9a46
authored
Dec 30, 2018
by
Christophe Maudoux
Browse files
Fix configuration Parser (
#1603
)
parent
7b3e95a3
Pipeline
#3826
failed with stages
in 8 minutes and 36 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Parser.pm
View file @
0ffb9a46
...
...
@@ -542,6 +542,8 @@ sub _scanNodes {
:
{}
}
);
@listCatRef
=
sort
@listCatRef
;
@listCatNew
=
sort
@listCatNew
;
for
(
my
$i
=
0
;
$i
<
@listCatNew
;
$i
++
)
{
if
(
not
(
defined
$listCatRef
[
$i
]
)
or
$listCatRef
[
$i
]
ne
$listCatNew
[
$i
]
)
...
...
lemonldap-ng-manager/t/11-save-changed-conf-with-confirmation.t
View file @
0ffb9a46
...
...
@@ -52,7 +52,7 @@ ok( $resBody->{details}->{__needConfirmation__}->[0]->{message}
)
or
print
STDERR
Dumper
(
$resBody
);
ok
(
@
{
$resBody
->
{
details
}
->
{
__changes__
}
}
==
2
4
,
ok
(
@
{
$resBody
->
{
details
}
->
{
__changes__
}
}
==
2
2
,
'
JSON response contains 24 changes
'
)
or
print
STDERR
Dumper
(
$resBody
);
#print STDERR Dumper($resBody);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment