State saving is buggy... [message #1086543] |
Wed, 14 August 2013 06:29  |
Eclipse User |
|
|
|
NatTable state saving works great most of the time, but it contains a well hidden bug: When you use the vertical bar in a filter string, that string is persisted correctly but cannot be read back. The reason is the simple fact that saveState/loadState use this character as a separator. (Look into the code; it appears in several source files as a literal string or literal character, not even as a constant defined in one central place as it would be good programming practice. This applies to both the latest Sourceforge release as well as the current Nebula release.)
You may ask why anybody should use | in a filter string. The answer is that this is the alternation (or) operator in regular expressions, and I have a real-world use case where I need exactly that.
Why do I post this message in this forum instead of writing a Bugzilla entry? Presently, my primary interest is not the Nebula NatTable version but the Sourceforge 2.3.2 version; I need it for a plugin that runs in a commercial application which will probably not be ported to an Eclipse 4.x RCP release. So my real question is: Does anybody feel responsible for bug-fixes in the latest Sourceforge NatTable code, and is there any place where I can share my fixes with others who are also forced (condemned?) to use this particular code base?
May I add the general remark that it is a deplorable phenomenon in the Open Source scene that there is little awareness of the needs of business application developers. They are not always free to jump to the latest and greatest code base, and while the transfer of NatTable to Eclipse Nebula is generally a good thing, the termination of Sourceforge NatTable is a very unpleasant side-effect.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04538 seconds