[Building Sakai] problem with toolManager.getCurrentPlacement

Diego del Blanco Orobitg diego.delblanco at setival.com
Mon Jun 22 00:44:31 PDT 2009


Hi all,

      

      I'm developing a new Sakai tool to be able to import IMS QTI and IMS
CP to Samigo, Mneme and Melete, respectively, through these three tools
Services to do that.

      

      The problem I have is that toolManager.getCurrentPlacement is null
and, thus, I cannot get siteId to know which is the current site I am
visiting. This makes Samigo, Mneme and Melete services not know to which
site they have to associate imported files.

      

      I've been browsing into Sakai 2.6.x and kernel 1.0.x source code and,
if I'm not wrong, currentPlacement is stored by ThreadLocalManagement in a
HashMap. Using SessionManager.getCurrentToolSession().getPlacementId() I can
get the index of HashMap but the object stored with that index is null and
this is why

      ToolSession.getCurrentPlacement() returns null.

      

      I really don't know if it is a problem of tool configuration or if I
am missing some libraries.

      

      Any help would be appreciated.

      

      Thank you very much in advance.

 

 

 

 

barrita


 <http://www.setival.com/> logo correo

Tlf: 902 05 06 02

Fax: 96 199 42 43

                

 

Diego del Blanco Orobitg

Director del Área de e-Learning y Nuevas Tecnologías 

 <mailto:diego.delblanco at setival.com> diego.delblanco at setival.com

   Móvil: 653 683 489

 

  Oficinas de Valencia

  Parque Tecnológico – Edificio CEEI

  C/Benjamin Franklin, 12

  46980 Valencia

Este mensaje y sus archivos son confidenciales. No está permitida su
reproducción o distribución sin la autorización expresa de SETIVAL SCV. Si
usted no es el destinatario previsto, cualquier uso, acceso o copia de este
mensaje queda desautorizado. Si ha recibido este mensaje por error, por
favor bórrelo e infórmenos por esta misma vía.

De acuerdo con la LSSICE y la LOPD, le comunicamos que sus datos personales
y dirección de correo electrónico forman parte de un fichero automatizado,
cuyo responsable es SETIVAL SCV, siendo la finalidad del fichero el envío de
información de carácter comercial sobre nuestros servicios. Si lo desea
puede ejercer los derechos de oposición, acceso,rectificación y cancelación
de sus datos enviando un mensaje de correo electrónico a
<mailto:setival at setival.com> setival at setival.com indicando en el asunto el
derecho que desea ejercitar. Gracias por su colaboración.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090622/486e971c/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 619 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090622/486e971c/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 10922 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090622/486e971c/attachment-0001.png 


More information about the sakai-dev mailing list