Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-6825

Fix Factory generation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • None
    • None
    • NEW
    • NEW

      Codegenerated model factories contains the following line

      `private static final List<KiePMMLModel> KIE_PMML_MODELS = Arrays.asList(new

      {FQDN}

      );`

      that is wrong for no-codegen models (e.g. Regression model)

      Correct implementation is present inside
      `KiePMMLSegmentFactory.setConstructor()`

      Replicate that inside `KiePMMLFactoryFactory.populateKiePmmlFields`

              gcardosi Gabriele Cardosi (Inactive)
              gcardosi Gabriele Cardosi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: