[chronojump] fixed: 607021, persons comments have not to be uploaded to server changes are on server side



commit 6a3f64c9bfdc4173d552fb9b40061eb18e267d51
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Jan 20 12:57:50 2010 +0100

    fixed: 607021, persons comments have not to be uploaded to server
    changes are on server side

 chronojump_server/bin/chronojumpServer.dll  |  Bin 276480 -> 276480 bytes
 chronojump_server/chronojumpServerCSharp.cs |    3 ++-
 src/gui/chronojump.cs                       |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/chronojump_server/bin/chronojumpServer.dll b/chronojump_server/bin/chronojumpServer.dll
index 27245ad..91c017c 100755
Binary files a/chronojump_server/bin/chronojumpServer.dll and b/chronojump_server/bin/chronojumpServer.dll differ
diff --git a/chronojump_server/chronojumpServerCSharp.cs b/chronojump_server/chronojumpServerCSharp.cs
index 8f0e011..f7b27d5 100755
--- a/chronojump_server/chronojumpServerCSharp.cs
+++ b/chronojump_server/chronojumpServerCSharp.cs
@@ -275,8 +275,9 @@ public class ChronojumpServer {
 		//change value for being inserted with new numeration in server
 		myPerson.UniqueID = -1;
 		
-		//hidden person.Name
+		//hidden person.Name and comments
 		myPerson.Name = "";
+		myPerson.Description = "";
 		
 		//do insertion
 		int id = myPerson.InsertAtDB(false, Constants.PersonTable);
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index e228427..f5e9368 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -1005,7 +1005,7 @@ public class ChronoJumpWindow
 				if(currentSession.ServerUniqueID == Constants.ServerUndefinedID) 
 					message1 =  
 							Catalog.GetString("Session will be uploaded to server.") + "\n" +  
-							Catalog.GetString("All names and date of birth of persons in session will be hidden.") + "\n\n" + 
+							Catalog.GetString("Names, date of birth and descriptions of persons will be hidden.") + "\n\n" + 
 							Catalog.GetString("You can upload again this session if you add more data or persons.");
 				else
 					message1 =  



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]