Improve Logging behavior when a plugin requests a dependency that cannot be met

XMLWordPrintable

    • 3
    • 0

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Cross posted in PLUG-902
      A recent bug in Team Cal took extraordinary measures to solve in a running production system because the logging message was not useful:

      2012-08-08 13:38:24,012 WARN [TP-Processor12] [atlassian.plugin.webresource.DefaultResourceDependencyResolver] resolveDependencies Cannot find web resource module for: com.atlassian.confluence.plugins.confluence-paste:autoconvert-core
      – url: /confluence/pages/editpage.action | page: 744752296 | userName: 2153824 | referer: https://domain/confluence/display/redacted/redacted | action: editpage
      

      In order to figure this one out, I had to get every plugin jar from the customer, unjar everything, and scan the atlassian-plugin.xmls for the offending code.

      Would like the above error to at least list the plugin that requested the dependency.

              Assignee:
              Unassigned
              Reporter:
              Tim Wong (Inactive)
              Votes:
              90 Vote for this issue
              Watchers:
              79 Start watching this issue

                Created:
                Updated:
                Resolved: