Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2512

CommandScope is not active in IntellJ IDEA

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 2.20.0.Final
    • UI - IntelliJ IDEA
    • None

    Description

      When we use @CommandScoped in addons on IntelliJ the scope is not activated throwing

      WELD-001303: No active contexts for scope type org.jboss.forge.addon.ui.cdi.CommandScoped

      A sample code is here at ¹ where *SongsFilter * is commandScoped.

      I've also tried to activate it in IDEA plugin modifying UIContextImpl² but found some issues, more details at ³ .

      [1] https://github.com/rmpestano/music-addon/issues/14
      [2] https://github.com/rmpestano/intellij-idea-plugin/commit/45757d714ecc0c0c3210153d6396ec20f4c81ead
      [3] https://github.com/rmpestano/music-addon/blob/master/src/main/java/com/github/forge/addon/music/ui/SearchCommand.java#L61

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            procergs-std Mauricio Wodarski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: