Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-9139

SWF Editor - Missing Element Factory configuration in the Domain initialization

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      1. Build the SWF Editor in "Edit Mode".
      2. Open the Inject_State_Example.sw.json workflow and select the "Inject State".
      3. From the toolbox -> Compensation, click on any of the States available.

      Actual result

      Only the state is created.

      Expected result

      The Compensation transition and the State shall be created.

      Show
      Build the SWF Editor in "Edit Mode". Open the Inject_State_Example.sw.json workflow and select the "Inject State". From the toolbox -> Compensation, click on any of the States available. Actual result Only the state is created. Expected result The Compensation transition and the State shall be created.
    • ---
    • ---
    • 2023 Week 18-20 (from May 1), 2023 Week 21-23 (from May 22), 2023 Week 24-26 (from Jun 12)

      The capability to associate the proper ElementFactory to an Element and then consume the poper ElementFactory (NodeFactory / EdgeFactory) in the creation of states and transitions is missing in the SWF Domain configuration.

      • The factory configuration shall be done in the class SWDomainInitializer
      • The factory types shall be associated to Categories in the configuration
      • The DefinitionAdapter shall pick the proper ElementFactory based on element Category

      Notes:

      • After the steps to reproduce, to catch the null pointer exception in the browser, from Sources tab enable "Pause on uncaught exceptions" and "Pause on caught exceptions"
      • There are non related issues with node creation not covered by this Jira. Please check the epic KOGITO-8457.

            handreyrc Handrey Cunha
            handreyrc Handrey Cunha
            Lubomir Terifaj Lubomir Terifaj
            Lubomir Terifaj Lubomir Terifaj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: