Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-6416

Deployment descriptor validation fails if config item uses MVEL resolver and constructor with parameters

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • 2017 Week 36-37, 2017 Week 38-39

      It is allowed to use MVEL resolver for object definition which can specify constructor parameters like this:

      new org.jbpm.test.CustomStrategy(runtimeManager)
      

      If parameters are used, validation fails (probably because the variables are not declared in ParserContext):

      [Error: unable to resolve method using strict-mode: java.lang.Object.ksession()]
      [Near : {... rg.jbpm.process.workitem.bpmn2.ServiceTaskHandler(ksession, classLoader) ....}]
                                                                     ^
      [Line: 1, Column: 56]
      

            rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
            rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: