Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1130

Add #isEnabled() method to services based on Wicket

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: core-1.8.0
    • Fix Version/s: tidy-up
    • Component/s: Core, Core: Viewer: Wicket
    • Labels:
      None

      Description

      Some **Wicket services used the Application to do their job, e.g. GuiceBeanProvider" so they cannot be used in integration tests.
      Other services depend on RequestCycle being available, e.g. DeepLinkService. Such kind of services cannot be used during application start and/or integration tests.

      There are several options:

      • return null
      • throw exception
      • add #isEnabled() method
      • ... ?!

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              mgrigorov Martin Tzvetanov Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: