Run the attached NetBeans project (better use 7.1).
In left hand side tree click "Project1".
In table click row "TT-2".
In Description part change "Bran, Sgeolan, and Lomair" into anything else.
In top menu bar press button "Save":
==> the "TT-2" row in the tableview should see its Synopsis value updated. It used to work up to promoted FX b06 or b07.
==> in the output you read "ISSUE Updated synopsis <whatever-you-set>"
This output has been added to demonstrate what's going on (see Controller.java):
We called setOnAction on the Save button instance, that calls method saveIssueFired (line 625)
Method saveIssueFired does getItems().clear() + getItems().add() on the table, our TableView instance (line 527)
If at that point you click "Project2" in left hand side tree then "Project1" again you see table content is updated correctly.
If I comment out the call to getItems.clear() then the table content is updated as soon as "Save" is pressed (but I get at the end 6 rows in place of 3 as we append new values)
It's as if calling clear & add in the same setOnAction call no longer allow the table refresh to be straight effective.
Is it an FX runtime regression ?
In left hand side tree click "Project1".
In table click row "TT-2".
In Description part change "Bran, Sgeolan, and Lomair" into anything else.
In top menu bar press button "Save":
==> the "TT-2" row in the tableview should see its Synopsis value updated. It used to work up to promoted FX b06 or b07.
==> in the output you read "ISSUE Updated synopsis <whatever-you-set>"
This output has been added to demonstrate what's going on (see Controller.java):
We called setOnAction on the Save button instance, that calls method saveIssueFired (line 625)
Method saveIssueFired does getItems().clear() + getItems().add() on the table, our TableView instance (line 527)
If at that point you click "Project2" in left hand side tree then "Project1" again you see table content is updated correctly.
If I comment out the call to getItems.clear() then the table content is updated as soon as "Save" is pressed (but I get at the end 6 rows in place of 3 as we append new values)
It's as if calling clear & add in the same setOnAction call no longer allow the table refresh to be straight effective.
Is it an FX runtime regression ?