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

Validate when a facet is injecting a Project

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 1.3.1.Final
    • 1.3.0.Final
    • Furnace (Container)
    • None

    Description

      Facets can't @Inject Project, otherwise the following exception is thrown, which is not clear in a first moment:

      Exception encountered: WELD-001303 No active contexts for scope type org.jboss.forge.shell.project.ProjectScoped (type "set VERBOSE true" to enable stack traces)
      

      lincolnthree suggested that it might be worth adding a check for this in a validation step of the Forge 1 weld extension

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: