1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-18 17:27:20 +01:00

see #2577 Updated error message that appears when user tries to open

.fwb file created by the future version of fwbuilder.
This commit is contained in:
Vadim Kurland 2011-07-21 16:48:20 -07:00
parent a206d46cde
commit 31c5133fdc
2 changed files with 13 additions and 5 deletions

View File

@ -1,5 +1,9 @@
2011-07-21 vadim <vadim@netcitadel.com>
* XMLTools.cpp (convert): see #2577 Updated error message that
appears when user tries to open .fwb file created by the future
version of fwbuilder.
* TextFileEditor.cpp (save): fixes #2567 "If file doesn't exist
when clicking 'edit file', then you have to hit save button twice".
The bug affected "edit file" function in the Address Table object

View File

@ -780,13 +780,17 @@ xmlDocPtr XMLTools::convert(xmlDocPtr doc,
if(c<0)
{
string err;
err = string("Data file '");
err += string("The file '");
err += file_name;
err += string("' was created by the future version of Firewall Builder.\n");
err += string(" File version: ");
err += vers;
err += string("' ");
err += string("was created by a newer version of "
"Firewall Builder, please upgrade in order to "
"open this file.");
err += string("\n");
err += string(" Current libfwbuilder data format version: ");
err += string("\n");
err += string("DTD version in the file: ");
err += vers;
err += string(" current: ");
err += current_version;
throw FWException(err);
}