Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5432

Message when dependency is already added to a component is incomplete

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • org.apache.felix.dependencymanager-r8
    • None
    • Dependency Manager
    • None

    Description

      If a dependency is added to a component, while the dependency has already been added to another component, the error message does not contain information to which component it was added already (while that information is available).

      Probably it would be better to change the code in ComponentImpl.add(Dependency...)

      if (dc.getComponentContext() != null) {
      m_logger.err("%s can't be added to %s (dependency already added to component %s).", dc, ComponentImpl.this, dc.getComponentContext());
      continue;
      }
      

      Attachments

        Activity

          People

            pderop Pierre De Rop
            JeroenDaanen Jeroen Daanen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: