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

Planning Entities can not be traited

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.1.0.CR1
    • 6.1.0.Beta1
    • optaplanner-core
    • None
    • Hide

      don() a Planning Entity during the constraint evaluation process

      Show
      don() a Planning Entity during the constraint evaluation process
    • Hide

      Use declared beans, which makes it harder to build a solution

      Show
      Use declared beans, which makes it harder to build a solution

      When a @Traitable java POJO is traited inside a KieSession, a proxy wrapper is created to add the necessary data structures.
      This proxy replaces the original object in the working memory.
      Unfortunately, this prevents the lookup of the handle associated to the original object, which in turn prevents the planning entity from being updated from the score director.

            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            dsotty Davide Sottara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: