Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dad
Cines Vitamui
Commits
ce69e5cb
Commit
ce69e5cb
authored
Jul 06, 2022
by
Baptiste Toulemonde
Browse files
fix signature add properties
parent
06e70844
Changes
1
Hide whitespace changes
Inline
Side-by-side
api/api-pastis/pastis-commons/src/main/java/fr/gouv/vitamui/pastis/common/service/PuaPastisValidator.java
View file @
ce69e5cb
...
...
@@ -662,7 +662,9 @@ public class PuaPastisValidator {
}
setChildName
(
elementProperties
,
json
,
el
,
puaMetadataDetails
);
if
(!
el
.
getChildren
().
isEmpty
())
{
json
.
getJSONObject
(
el
.
getName
()).
put
(
ADDITIONAL_PROPERTIES
,
el
.
getPuaData
().
getAdditionalProperties
());
if
(
null
!=
el
.
getPuaData
()
&&
null
!=
el
.
getPuaData
().
getAdditionalProperties
())
{
json
.
getJSONObject
(
el
.
getName
()).
put
(
ADDITIONAL_PROPERTIES
,
el
.
getPuaData
().
getAdditionalProperties
());
}
json
.
getJSONObject
(
el
.
getName
()).
put
(
PROPERTIES
,
new
JSONObject
());
getJSONObjectFromElement
(
el
,
json
.
getJSONObject
(
el
.
getName
()).
getJSONObject
(
PROPERTIES
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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