Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2731

Commands using the old Action interface with the felix package name do not work

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: karaf
    • Labels:
      None

      Description

      When running my examplejpa which uses the old interface org.apache.felix.gogo.commands.Action I get the error that my object can not be cast to org.apache.karaf.shell.commands.Action in BlueprintCommandSupport.

      To make this compatible we need to use the deprecated Action interface in the shell code. As the new Action interface extends the old one then both variants will work.

        Attachments

          Activity

            People

            • Assignee:
              chris@die-schneider.net Christian Schneider
              Reporter:
              chris@die-schneider.net Christian Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: