You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem when writing a BOM with 2+ tools, only in XML format.
The xml is wrote but it is not valid : a <tools> element appears for each <tool>
This problem does not appears when serializing as json.
I notice that the tools section is deprecated and that there are some jackson annotations (ref) to handle a transition from metadata > tools to metadata > components|services
The problem is present with versions 1.5 and 1.6
I have setup a minimal testcase to reproduce the problem : netceler@458cbec
should_write_a_single_tool_in_xml_format is ok
should_write_many_tools_with_json_format is also ok
I think it's more a Jackson configuration issue with the @JacksonXmlElementWrapper and @JacksonXmlProperty annotations on tools, in Metadata class... Each tool item is serialized with it's own tools wrapper element. 🤔
Hi,
I have a problem when writing a BOM with 2+ tools, only in XML format.
The xml is wrote but it is not valid : a
<tools>
element appears for each<tool>
The generated file looks like
This problem does not appears when serializing as json.
I notice that the tools section is deprecated and that there are some jackson annotations (ref) to handle a transition from
metadata > tools
tometadata > components|services
The problem is present with versions 1.5 and 1.6
I have setup a minimal testcase to reproduce the problem : netceler@458cbec
should_write_a_single_tool_in_xml_format
is okshould_write_many_tools_with_json_format
is also oktestIssuesWhenSerializingMultiplesToolsInXmlFormat
failsI originally found the bug with version
9.0.5
but it is also active with9.0.6-SNAPSHOT
The text was updated successfully, but these errors were encountered: