Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10929

CPConverter - error messages can be obfuscated

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Sc0rpic0m Niek Raaijmakers
              Sc0rpic0m Niek Raaijmakers
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: