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

Keep Fox-TaskForm from being injected

    XMLWordPrintable

    Details

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

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: