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

Workbench: Difficulty comparator: Generic parameters in interfaces are ignored by Roaster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.1.Final
    • 7.1.0.Final, 7.2.0.Final
    • optaplanner-wb
    • None
    • 2017 Week 34-35, 2017 Week 36-37, 2017 Week 38-39, 2017 Week 40-41-42
    • Hide

      Step 1. Make Data object, add fields
      Step 2. Check 'Planning Entity' and 'Use difficulty comparator for sorting planning entities."
      Step 3. Set difficulty order and Check Validation "Success"
      Step 4. Add a new field
      Step 5. Occur Validation error.

      Additional Step 1. Uncheck 'Use difficulty comparator for sorting planning entities.'
      Additional Step 2. Add a new field and check validation "Success"

      Show
      Step 1. Make Data object, add fields Step 2. Check 'Planning Entity' and 'Use difficulty comparator for sorting planning entities." Step 3. Set difficulty order and Check Validation "Success" Step 4. Add a new field Step 5. Occur Validation error. Additional Step 1. Uncheck 'Use difficulty comparator for sorting planning entities.' Additional Step 2. Add a new field and check validation "Success"
    • NEW
    • NEW

      I use workbench installed using jBPM Installer.

      Solving my optimization problem, I need to add a field in Planning Entity.

      So, I add a field my Planning Entity Data Object, but error occurs.

      I check my configuration and try some cases, I find 'Planner Settings' occurs validation error.

      This is Error Message
      : The type customer.DifficultyComparator must implement the inherited abstract method Comparator.compare(Object,Object)

      i.e., After set 'Use difficulty comparator for sorting planning entities.', I can't add a field.

              mcimbora_jira Matej Čimbora (Inactive)
              solutionjh@gmail.com 정훈 김 (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: