Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-1609

Keep Fox-TaskForm from being injected

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.1.0, 7.1.0-alpha2
    • None
    • 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

            [CAM-1609] Keep Fox-TaskForm from being injected

            There are no comments yet on this issue.

              smirnov Roman Smirnov
              meyer Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: