Bug #13907
openWTextEdit falsely indicating version mismatch
0%
Description
When WTextEdit runs (!verifyTinyMCEVersion(version_) - line 59 - it indicates that "Version of TinyMCE does not seem to match the version given in the config."
However, it seems that in line 179, the test for !s is returning false even though s seems to be initialized properly.
The version in wt_config.xml is "6" as is the version loaded via WTextEdit ("6"), so this should not generate a message.
Updated by Mark Travis 27 days ago
I've just run into another issue with WTextEdit.
I have the version of TinyMCE in wt_config.xml as "6.8.5"
When I try to load WTextEdit, I get the following errors:
Wt Wt: error during event handling: stoi() of 6.8.5 failed
Wt Wt: fatal error: stoi() of 6.8.5 failed
I traced this back to WTextEdit.C in line 171 "return Utils::stoi(version);"
Which in turn calls a wrapper to a boost library.
Updated by Matthias Van Ceulebroeck 1 day ago
- Target version set to 4.13.2
It seems a very minor bug, as this only warning. Regardless, it shouldn't happen. Likely it should check s.is_open().
Also, only the major version is sufficient.
Perhaps this ticket can also take that into account, when parsing.