Commit 92c0fbc9 authored by Celine Mercier's avatar Celine Mercier

Fixed a bug where an imported column was not flagged as finished,

resulting in its deletion when reopening the DMS.
parent b11d52d6
......@@ -1420,6 +1420,8 @@ obiversion_t obi_import_column(const char* dms_path_1, const char* dms_path_2, c
obidebug(1, "\nError closing an imported column");
return -1;
}
(column_2->header)->finished = true; // note: this is normally handled by the view that created the column
if (obi_close_column(column_2) < 0)
{
obidebug(1, "\nError closing an imported column");
......@@ -1494,6 +1496,8 @@ obiversion_t obi_import_column(const char* dms_path_1, const char* dms_path_2, c
obidebug(1, "\nError closing an imported column");
return -1;
}
(column_2->header)->finished = true; // note: this is normally handled by the view that created the column
if (obi_close_column(column_2) < 0)
{
obidebug(1, "\nError closing an imported column");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment