From f7f8b1aee5429a9609a504e0f28d801654022ef8 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 5 Jul 2009 00:07:24 -0400 Subject: [PATCH] Bug Fix - Fixed bug that generated an export file that was incompatible with task 1.7.1 import. Now there is a smooth migration path back to 1.7.1 in case 1.8.0 proves unacceptable. --- src/Task.cpp | 2 +- src/command.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Task.cpp b/src/Task.cpp index 99de67d17..8aefd4956 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -350,7 +350,7 @@ std::string Task::composeCSV () const { std::stringstream out; - out << id << ","; + // Deliberately no 'id'. out << "'" << get ("uuid") << "',"; // No i18n out << "'" << get ("status") << "',"; // No i18n diff --git a/src/command.cpp b/src/command.cpp index 23210c28d..d62b4ce1a 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -811,8 +811,8 @@ std::string handleExport () { std::stringstream out; - out << "'id'," - << "'uuid'," + // Deliberately no 'id'. + out << "'uuid'," << "'status'," << "'tags'," << "'entry',"