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

Validate when a facet is injecting a Project

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: