You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by es...@apache.org on 2012/05/03 23:28:30 UTC

svn commit: r1333632 - in /incubator/openmeetings/branches/jira-plugin: src/main/java/org/openmeetings/jira/plugin/gateway/OmGateway.java src/main/java/org/openmeetings/jira/plugin/servlet/RoomsServlet.java target/openmeetings-1.0-SNAPSHOT.jar

Author: eschwert
Date: Thu May  3 21:28:30 2012
New Revision: 1333632

URL: http://svn.apache.org/viewvc?rev=1333632&view=rev
Log:
OPENMEETINGS-60 changed data type of externalUserId

Modified:
    incubator/openmeetings/branches/jira-plugin/src/main/java/org/openmeetings/jira/plugin/gateway/OmGateway.java
    incubator/openmeetings/branches/jira-plugin/src/main/java/org/openmeetings/jira/plugin/servlet/RoomsServlet.java
    incubator/openmeetings/branches/jira-plugin/target/openmeetings-1.0-SNAPSHOT.jar

Modified: incubator/openmeetings/branches/jira-plugin/src/main/java/org/openmeetings/jira/plugin/gateway/OmGateway.java
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/jira-plugin/src/main/java/org/openmeetings/jira/plugin/gateway/OmGateway.java?rev=1333632&r1=1333631&r2=1333632&view=diff
==============================================================================
--- incubator/openmeetings/branches/jira-plugin/src/main/java/org/openmeetings/jira/plugin/gateway/OmGateway.java (original)
+++ incubator/openmeetings/branches/jira-plugin/src/main/java/org/openmeetings/jira/plugin/gateway/OmGateway.java Thu May  3 21:28:30 2012
@@ -150,7 +150,7 @@ public class OmGateway {
 	}
 	
 	public String setUserObjectAndGenerateRoomHash (String username , String firstname , 
-			String lastname , String profilePictureUrl , String email , Long externalUserId , 
+			String lastname , String profilePictureUrl , String email , String externalUserId , 
 			String externalUserType , Long room_id , int becomeModeratorAsInt , int showAudioVideoTestAsInt ) 
 																	throws Exception 
 	{	

Modified: incubator/openmeetings/branches/jira-plugin/src/main/java/org/openmeetings/jira/plugin/servlet/RoomsServlet.java
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/jira-plugin/src/main/java/org/openmeetings/jira/plugin/servlet/RoomsServlet.java?rev=1333632&r1=1333631&r2=1333632&view=diff
==============================================================================
--- incubator/openmeetings/branches/jira-plugin/src/main/java/org/openmeetings/jira/plugin/servlet/RoomsServlet.java (original)
+++ incubator/openmeetings/branches/jira-plugin/src/main/java/org/openmeetings/jira/plugin/servlet/RoomsServlet.java Thu May  3 21:28:30 2012
@@ -137,7 +137,7 @@ public final class RoomsServlet extends 
 					
 					String username = "";
 					String firsname = "";
-					Long userId = 0L;
+					String userId = "";
 					String email = "";
 					int becomeModeratorAsInt = 1;
 					int showAudioVideoTestAsInt = 1;
@@ -149,14 +149,14 @@ public final class RoomsServlet extends 
 		        	if(currentUser == null){
 		        		firsname = "anonymous";
 						email = "";
-						userId = new Date().getTime();
+						userId = new Long(new Date().getTime()).toString();
 						username = "anonymous";
 						becomeModeratorAsInt = 0;
 						showAudioVideoTestAsInt = 1;  
 		        	}else{
 		        		firsname = currentUser.getDisplayName();
 						email = currentUser.getEmailAddress();
-						userId = new Date().getTime();
+						userId = currentUser.getName();//new Date().getTime();
 						username = currentUser.getName();
 						becomeModeratorAsInt = 1;
 						showAudioVideoTestAsInt = 1;

Modified: incubator/openmeetings/branches/jira-plugin/target/openmeetings-1.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/jira-plugin/target/openmeetings-1.0-SNAPSHOT.jar?rev=1333632&r1=1333631&r2=1333632&view=diff
==============================================================================
Binary files - no diff available.