Skip to content
Success

Changes

Summary

  1. DefaultValuesFilter improve handling for JSON-null values (details)
  2. ChartTableControl: Fix JSON default value for chartType (details)
  3. Applying column configuration and reset to factory should reload table (details)
Commit 6ce5571d4ca33936d369c3a0a64d61d405ef2837 by Paolo Bazzi
DefaultValuesFilter improve handling for JSON-null values

Avoid trying to cast values if default value is JSONObject.NULL which
lead to unnecessary IllegalArgumentException before this fix.

Improved (and fixed) DefaultValuesFilterTest

359229
The file was modified org.eclipse.scout.rt.ui.html.test/src/test/resources/org/eclipse/scout/rt/ui/html/json/DefaultValuesFilterTest_test_simple.json (diff)
The file was modified org.eclipse.scout.rt.ui.html.test/src/test/java/org/eclipse/scout/rt/ui/html/json/DefaultValuesFilterTest.java (diff)
The file was modified org.eclipse.scout.rt.ui.html/src/main/java/org/eclipse/scout/rt/ui/html/json/DefaultValuesFilter.java (diff)
Commit 0f4b601da41fc2405ae502fed045af1c767bdce8 by Paolo Bazzi
ChartTableControl: Fix JSON default value for chartType

Caused warnings when conerting to JSON: Could not cast value 'bar' to
default value type 'java.lang.Integer' for property 'chartType'

359229
The file was modified org.eclipse.scout.rt.chart.ui.html/src/main/resources/org/eclipse/scout/rt/chart/ui/html/json/defaultValues.json (diff)
Commit 25793db44d21629a96bb8fe46858c611cff9a870 by Ralph Steiner
Applying column configuration and reset to factory should reload table

reload table data
The file was modified org.eclipse.scout.rt.client/src/main/java/org/eclipse/scout/rt/client/ui/basic/table/organizer/OrganizeColumnsForm.java (diff)