[
https://issues.jboss.org/browse/TEIIDDES-2459?page=com.atlassian.jira.plu...
]
Andrej Šmigala reopened TEIIDDES-2459:
--------------------------------------
The implementation of this is incorrect:
I defined two servers, DV 6.1 GA (with Teiid 8.7.1) and Teiid 8.10.
Switching the default server between these two works in exactly the opposite way than is
expected, due to two separate issues:
1) switching to Teiid 8.10 does _not_ show the unsupported server version message
This is due to the way version comparison is done in TeiidServerVersion here:
https://github.com/Teiid-Designer/teiid-designer/blob/9.0.x/plugins/org.t...
On line 340, the minor components are compared using String.compareTo, which compares the
strings lexicographically. "10" therefore compares as less than "7",
and the version 8.10.1 is considered lower than the default 8.7.0.
2) switching to Teiid 8.7.1 _does_ show the unsupported server version message
This is because the default server version is set to TEIID_8_7, which is defined as
TEIID_8_7(EIGHT + DOT + SEVEN + DOT + ZERO), i.e. 8.7.0.
This of course compares as greater than the default 8.7.0.
Enabling minimal support for as-yet unsupported Teiid versions
--------------------------------------------------------------
Key: TEIIDDES-2459
URL:
https://issues.jboss.org/browse/TEIIDDES-2459
Project: Teiid Designer
Issue Type: Enhancement
Components: Teiid Integration
Affects Versions: 9.0.2
Reporter: Paul Richardson
Assignee: Paul Richardson
Fix For: 9.1, 8.6.2 Beta1, 9.0.2 Beta1, 9.0.2, 8.6.2
Since there is only one teiid-client plugin which is responsible for all versions of
teiid instance support, there is no longer any point in specifying versions that the
plugin supports.
Thus, update the plugin to establish levels of support for versions of Teiid, ie. no
support, full support and works-but-no-support. This should allow versions of Teiid that
have not yet been fully integrated and tested to be connected to by the client.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)