cuba-platform / bpm

Business Process Management Addon
https://www.cuba-platform.com/
Apache License 2.0
43 stars 23 forks source link

Standard actions initializer throws exception on legacy editor screens #59

Open soraksh opened 4 years ago

soraksh commented 4 years ago

Environment

Description of the bug

  1. Create legacy editor screen and add ProcActionsFrame there.
  2. Try to use procActionsFrame.initializer().standard()

Standard actions initialized

com.haulmont.bpm.exception.BpmException: ProcActionsFrame.standard() must be used inside Window.Editor only
    at com.haulmont.bpm.gui.procactions.ProcActionsFrame$Initializer.standard(ProcActionsFrame.java:445)
...