-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 10.10, 11.1
-
Fix Version/s: 10.10-HF32, 11.3, 2021.0
-
Component/s: nuxeoctl start/stop/admin
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #16
-
Story Points:0
Packages like hotfixes contain multine description like:
<package type="hotfix" name="nuxeo-10.10-HF01" version="1.0.0"> <title>Nuxeo 10.10-HF01</title> <description> Download and install the latest hotfix to keep your Nuxeo up-to-date. Changes will take effects after restart. </description> <home-page>http://www.nuxeo.com/</home-page> <vendor>Nuxeo</vendor> <installer restart="true" /> <uninstaller restart="true" /> <hotreload-support>false</hotreload-support> <nuxeo-validation>nuxeo_certified</nuxeo-validation> <production-state>production_ready</production-state> <supported>true</supported> <platforms> <platform>server-10.10</platform> </platforms> <visibility>MARKETPLACE</visibility> <license>LGPL</license> <license-url>http://www.gnu.org/licenses/lgpl.html</license-url> </package>
While issuing the following command:
nuxeoctl showconf --json
this ends up with wrongly formatted JSON:
"description":"Download and install the latest hotfix to keep your Nuxeo up-to-date."" Changes will take effects after restart."
This prevents any tooling from reading it and using it.
Workaround:
s/[^\]""/\\n/g
- is related to
-
NXP-29403 Broken showconf --json output in Nuxeo 11
- Resolved
- Is referenced in
(1 Is referenced in)