Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-2734

Gizmo Solution Cloning: Implementations of @PlanningEntity interfaces are not cloned

XMLWordPrintable

    • NEW
    • NEW

      Given the following interface:

       

      @PlanningEntity
      public interface InterfaceEntity {
          @PlanningVariable(valueRangeProviderRefs = "valueRange)
          Value getValue();
      
          void setValue(Value value);
      }

      and implementation without `@PlanningEntity`:

       

      public class ActualEntity {
          // ...
      }
      

      ActualEntity instances will not be cloned when GIZMO is used, resulting in cloning corruption.

              cchianel Christopher Chianelli (Inactive)
              cchianel Christopher Chianelli (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: