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

Validate when a facet is injecting a Project

    Details

      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)
      

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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gastaldi George Gastaldi
                Reporter:
                gastaldi George Gastaldi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: