Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-17707

Add a way to report warning on nuxeoctl status

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.4
    • Fix Version/s: 9.1

      Description

      We should provide a way to display warning on nuxeoctl status in addition to errors.
      At the moment using Framework.getRuntime().getWarnings().add(message);
      fails because it reports warning as being errors on the summary api: AbstractRuntimeService#getStatusMessage.

      In this case the --strict mode will abort the start on warning and we don't want this.

      This happens in CI:
      https://qa.nuxeo.org/jenkins/job/addons_FT_nuxeo-sample-project-master/1991/org.nuxeo.marketplace.sample$webdriver/console

      [INFO]      [exec] ..............Shutting down because of unstarted component in strict mode...
      [INFO]      [exec] ======================================================================
      [INFO]      [exec] = Component Loading Errors:
      [INFO]      [exec]   * Warning: target extension point 'views' of 'org.nuxeo.theme.services.ThemeService' is unknown as it has been removed since 7.4. Check your extension in component service:org.nuxeo.project.sample.themes
      [INFO]      [exec]   * Warning: target extension point 'presets' of 'org.nuxeo.theme.services.ThemeService' is unknown as it has been removed since 7.4. Check your extension in component service:org.nuxeo.project.sample.themes
      [INFO]      [exec]   * Warning: target extension point 'presets' of 'org.nuxeo.theme.services.ThemeService' is unknown as it has been removed since 7.4. Check your extension in component service:org.nuxeo.project.sample.themes
      [INFO]      [exec]   * Warning: target extension point 'presets' of 'org.nuxeo.theme.services.ThemeService' is unknown as it has been removed since 7.4. Check your extension in component service:org.nuxeo.project.sample.themes
      [INFO]      [exec]   * Warning: target extension point 'presets' of 'org.nuxeo.theme.services.ThemeService' is unknown as it has been removed since 7.4. Check your extension in component service:org.nuxeo.project.sample.themes
      [INFO]      [exec] ======================================================================
      [INFO]      [exec] = Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 594
      [INFO]      [exec] ======================================================================
      [INFO]      [exec] Started in 0min28s
      [INFO]      [exec] Stopping server......Server stopped.
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: