PicoContainer
  1. PicoContainer
  2. PICO-44

Lack of information when pico is unable to satisfy dependencies.

    Details

    • Type: Wish Wish
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0-alpha-2, 1.0-beta-1, 1.0-beta-2, (2)
      1.0-beta-3, 1.0-beta-5
    • Fix Version/s: 1.0-beta-3
    • Component/s: PicoContainer (Java)
    • Labels:
      None
    • Number of attachments :
      1

      Description

      There should be information in the message returned by pico when it's unable to satisfy dependencies. When using a large amount of components, it is a daunting task to check components constructor arguments versus registered components/instances.

        Activity

        Hide
        Gilles Philippart added a comment -

        I attached the test case showing that pico's message is obscure in such case.

        Show
        Gilles Philippart added a comment - I attached the test case showing that pico's message is obscure in such case.
        Gilles Philippart made changes -
        Field Original Value New Value
        Attachment InformativePicoContainerTestCase.java [ 10800 ]
        Aslak Hellesøy made changes -
        Assignee Aslak Hellesoy [ rinkrank ]
        Status Unassigned [ 1 ] Assigned [ 2 ]
        Hide
        Aslak Hellesøy added a comment -

        Fixed. You should now get a message a la:
        foo.Bar doesn't have any satisfiable constructors. Usatisfiable dependencies: [class zip.Zap, class ping.Pong]

        --Aslak

        Show
        Aslak Hellesøy added a comment - Fixed. You should now get a message a la: foo.Bar doesn't have any satisfiable constructors. Usatisfiable dependencies: [class zip.Zap, class ping.Pong] --Aslak
        Aslak Hellesøy made changes -
        Status Assigned [ 2 ] Closed [ 6 ]
        Fix Version/s 1.0-beta-3 [ 10232 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Aslak Hellesøy
            Reporter:
            Gilles Philippart
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: