[Building Sakai] Samigo - Question Pool Sharing Issue

Diego del Blanco Orobitg diego.delblanco at samoo.es
Thu Nov 29 08:52:07 PST 2012


I'm talking too when uploading with the rich text editor

-----Mensaje original-----
De: sakai-dev-bounces at collab.sakaiproject.org
[mailto:sakai-dev-bounces at collab.sakaiproject.org] En nombre de Diego del
Blanco Orobitg
Enviado el: jueves, 29 de noviembre de 2012 17:46
Para: 'Raul Sanchez Vegas'; 'sakai-dev'
Asunto: Re: [Building Sakai] Samigo - Question Pool Sharing Issue

I add an opinion... not only in shared pools. Files in any question, part,
pool... in samigo, should not be in resources. It should be in some other
hidden place, private folders or similar and of course, as Raul says not
belonging to the site, always with the question so if you export the
assessment to other site, the file comes with the assessment.

Best wishes!

Diego.

-----Mensaje original-----
De: sakai-dev-bounces at collab.sakaiproject.org
[mailto:sakai-dev-bounces at collab.sakaiproject.org] En nombre de Raul Sanchez
Vegas Enviado el: jueves, 29 de noviembre de 2012 17:14
Para: sakai-dev
Asunto: [Building Sakai] Samigo - Question Pool Sharing Issue

Hi all

We've found the next two issues:

Facts and settings to reproduce it:

- Instructor A and Instructor B belong to Site 1.
- Instructor B belongs to Site 2 however instructor A doesn't belong to Site
2.
- Instructor A shares a question pool called 'First qpool' with Instructor B
inside Site 1.
- Instructor B opens 'First qpool' inside Site 2 and creates a question with
an attachment inside 'First qpool' . This attachment belongs to Site 2 by
default.


First issue:

1. Instructor A (in Site 1) opens the question which has been created by
Instructor B.
2. Instructor A tries to open the question's attachment but he is not
allowed to open it because the attachment belongs to Site 2 rather than Site
1.


Second issue:

1. Instructor A (in Site 1) creates a new assessment.
2. Instructor A tries to import the first assessment's question from the
question pool 'First qpool'.
3. Instructor A selects the question which has been created by Instructor B
and Samigo throws this exception
"java.lang.RuntimeException: failed to populateItemBean." because this
question has an attachment that belongs to Site 2, and Instructor A doesn't
belong to Site 2 so he is not able to access to this attachment.

The main problem is that question pools belong to an instructor while
question's attachments belong to a Site. So, when using question pool
sharing functionality, an Instructor A is able to access to a question
pool's question which has an attachment that is stored in other site where
Instructor A is not a member, and therefore, instructor A won't have access
to the attachment.

It fails on trunk too: http://nightly2.sakaiproject.org:8082/portal. Has
anyone had the same problem?

Thanks,
Raúl



_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
with a subject of "unsubscribe"

_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
with a subject of "unsubscribe"



More information about the sakai-dev mailing list