|
209 KB
Fixed: SVN r43006/16.0.0-rc-26
This problem has something to do with the default value assigned to the specify-view-as-spreadsheet-directory-option object. Before this fix, 'null' is used as the default value. It seems that ADS option framework cannot handle this 'null' value as the default value in some scenarios.
It seems that every defined option object has an associated COptionEditor object as it UI presentation. In the COptionEditor.java implementation, there are two objects defined there:
private static final Object NULL = new Object();
private Object initial;
When the default value of an option object is null, in its corresponding COptionEditor object: COptionEditor.NULL
is assigned to COptionEditor.initial
. Later on, COptionEditor.initial
is passed to real UI object so that user can see it. The "java.lang.object@73dbb5dc" string mentioned in this issue is the String presentation of the COptionEditor.NULL
object.
Unless I am missing something, otherwise, showing "java.lang.object@73dbb5dc" in UI is incorrect. Maybe a null default value is not supported by ADS option framework.
Anyway, I changed the default value for specify-view-as-spreadsheet-directory-option object from null to an empty string which seems to resolve the problem.
Issue #13153 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 16.0.0-rc-26 |
No time estimate |
1 issue link |
relates to #12492
Issue #12492Ability to specify where "View as spreadsheet" places Excel files |
Fixed: SVN r43006/16.0.0-rc-26
This problem has something to do with the default value assigned to the specify-view-as-spreadsheet-directory-option object. Before this fix, 'null' is used as the default value. It seems that ADS option framework cannot handle this 'null' value as the default value in some scenarios.
It seems that every defined option object has an associated COptionEditor object as it UI presentation. In the COptionEditor.java implementation, there are two objects defined there:
private static final Object NULL = new Object();
private Object initial;
When the default value of an option object is null, in its corresponding COptionEditor object:
COptionEditor.NULL
is assigned toCOptionEditor.initial
. Later on,COptionEditor.initial
is passed to real UI object so that user can see it. The "java.lang.object@73dbb5dc" string mentioned in this issue is the String presentation of theCOptionEditor.NULL
object.Unless I am missing something, otherwise, showing "java.lang.object@73dbb5dc" in UI is incorrect. Maybe a null default value is not supported by ADS option framework.
Anyway, I changed the default value for specify-view-as-spreadsheet-directory-option object from null to an empty string which seems to resolve the problem.