You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Karl Pauls (Jira)" <ji...@apache.org> on 2021/12/16 14:10:00 UTC
[jira] [Resolved] (SLING-10929) CPConverter - error messages can be obfuscated
[ https://issues.apache.org/jira/browse/SLING-10929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls resolved SLING-10929.
--------------------------------
Resolution: Fixed
> CPConverter - error messages can be obfuscated
> ----------------------------------------------
>
> Key: SLING-10929
> URL: https://issues.apache.org/jira/browse/SLING-10929
> Project: Sling
> Issue Type: Improvement
> Components: Content-Package to Feature Model Converter
> Affects Versions: Content-Package to Feature Model Converter 1.1.10
> Reporter: Niek Raaijmakers
> Assignee: Niek Raaijmakers
> Priority: Minor
> Fix For: Content-Package to Feature Model Converter 1.1.12
>
>
> Currently, when performing a CPConversion, if the customer has wrong code, sometimes the exception can be very obfuscated.
> This gives the customer no chance to fix their error easily:
> In this example a xml file is empty:
> [ERROR] Unable to convert content-package [/tmp/packages/???.ui.content-1.28.0-SNAPSHOT.zip, /tmp/packages/???.ui.apps-1.28.0-SNAPSHOT.zip]: Premature end of file.
> We would like a path to be provided in the exception so the customer can take a look there.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)