Keep Fox-TaskForm from being injected

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.1.0, 7.1.0-alpha2
    • Affects Version/s: None
    • Component/s: engine

      The class org.camunda.bpm.engine.cdi.compat.TaskForm provides compatibility with camunda Fox for the El name "fox.TaskForm".

      Problem:
      =======

      • It extends org.camunda.bpm.engine.cdi.jsf.TaskForm and thus inherits the BeanTypes of org.camunda.bpm.engine.cdi.jsf.TaskForm
      • As a result, it will qualify for InjectionPoints of the type @Inject org.camunda.bpm.engine.cdi.jsf.TaskForm

      Proposed Solution:
      ==============

      • Rename org.camunda.bpm.engine.cdi.compat.TaskForm => org.camunda.bpm.engine.cdi.compat.FoxTaskForm. This way the IDE will not propose it if the user types "TaskForm"
      • Add @Typed( {org.camunda.bpm.engine.cdi.compat.FoxTaskForm}

        ) to restrict the set of bean types

      Do not backport to 7.0

        This is the controller panel for Smart Panels app

              Assignee:
              Roman Smirnov
              Reporter:
              Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: