[Building Sakai] Assessment Problem Group

Antonio muñoz alonso antoniovalenciaspain at hotmail.com
Sun Jan 27 13:25:16 PST 2013


Hi

I have created two groups and an exam for each.
if I identify as Users of a group( user with id:65a73180-84bb-49c8-a40d-07685277a76e), function returns me that I have 1 exam. CORRECT !!!!.But, if I identify as Instructor, function returns me that I have 2 exam, always use the same idUSer,function returns me that I have 2 exam. BAD !!!!. And I can not get the group is assigned the exam.
Want to get information from the same user, if I identify with different values ​​change users
with the tasks I feel the same.


Any ideas¿?



public void getNumberAssignment(String idSite){		String idUser="65a73180-84bb-49c8-a40d-07685277a76e";                               		PublishedAssessmentService pas = new PublishedAssessmentService();	                List<PublishedAssessmentFacade> publishedAssessmentList =                                               pas.getBasicInfoOfAllPublishedAssessments(idUser,PublishedAssessmentFacadeQueries.STARTDATE,false,idSite);			    Iterator<PublishedAssessmentFacade> iter = publishedAssessmentList.iterator();	    while(iter.hasNext()){	    		    	PublishedAssessmentFacade a = iter.next();	       System.out.println(a.getReleaseToGroups()+"/"+a.getReleaseToGroupsList().size()+"/"+a.getReleaseTo());              // I can not know the groups  0/null/Select Groups	    	    }	    		
		System.out.println("Number Exam:"+publishedAssessmentList.size());	} 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130127/bf423508/attachment.html 


More information about the sakai-dev mailing list