[Building Sakai] deleting the polls options did not send email notification to the voters

Sanghyun Jeon euksa99 at gmail.com
Mon Jun 17 11:57:44 PDT 2013


we also found another issue related with polls' permission.

The instructor changes the permission for student and TA into

Polls < Permissions < originally Student only has poll.vote, but now
student has poll.vote, poll,add, poll.deleteOwn, and poll.editOwn.

The student can add his own polls and remove mark shows next his newly
created poll. He can edit his poll, but he got [ERROR]
org.sakaiproject.poll.tool.params.PollToolBean:203 -  Permission
Errorjava.lang.SecurityException:
user:/user/885cc180-8a47-4082-a146-ef09354d375f can't delete poll: 662
when he tries to delete his own poll via clicking remove button.

Can anybody tell me what I did wrong and how I can fix this problem?

S


On Mon, Jun 17, 2013 at 11:15 AM, Sanghyun Jeon <euksa99 at gmail.com> wrote:

> all users.
> No user who votes the deleted option ( regardless of their role) receive
> the email.
>
> S
>
>
> On Sat, Jun 15, 2013 at 1:00 AM, Steve Swinsburg <
> steve.swinsburg at gmail.com> wrote:
>
>> Does it do this for all users or only some? Does anyone get the email?
>>
>> Sent from my iPad
>>
>> On 15/06/2013, at 1:56, Sanghyun Jeon <euksa99 at gmail.com> wrote:
>>
>> I've tried both guest account (gmail) and our campus account. Both users
>> did not receive the notification email :(
>>
>> S
>>
>>
>> On Thu, Jun 13, 2013 at 6:02 PM, Steve Swinsburg <
>> steve.swinsburg at gmail.com> wrote:
>>
>>> Right so what is the email address of the user that it is trying to send
>>> to?
>>>
>>> Sent from my iPad
>>>
>>> On 14/06/2013, at 10:41, Sanghyun Jeon <euksa99 at gmail.com> wrote:
>>>
>>> Here's the full tomcat error. Hope somebody helps me why student cannot
>>> receive the notification email after poll option has been deleted. As you
>>> see the problem is : javax.mail.internet.AddressException: Illegal address
>>> in string ``''
>>>
>>> I change the user from admin to the specific instructor (I thought admin
>>> might don't have an email address), but the result is the same.
>>>
>>> 2013-06-13 17:34:57.685 [DEBUG]
>>> org.sakaiproject.coursemanagement.impl.provider.SectionRoleResolver:137 -
>>> Found 0 currently enrolled sections for user admin
>>> 2013-06-13 17:34:57.688 [DEBUG]
>>> org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider:140
>>> - Found 0 groups for admin from resolver
>>> org.sakaiproject.coursemanagement.impl.provider.SectionRoleResolver
>>> 2013-06-13 17:34:57.689 [DEBUG]
>>> org.sakaiproject.coursemanagement.impl.provider.CourseOfferingRoleResolver:118
>>> - Found 0 course offering roles for admin
>>> 2013-06-13 17:34:57.690 [DEBUG]
>>> org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider:140
>>> - Found 0 groups for admin from resolver
>>> org.sakaiproject.coursemanagement.impl.provider.CourseOfferingRoleResolver
>>> 2013-06-13 17:34:57.691 [DEBUG]
>>> org.sakaiproject.coursemanagement.impl.provider.CourseSetRoleResolver:102 -
>>> getGroupRoles: admin
>>> 2013-06-13 17:34:57.693 [DEBUG]
>>> org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider:140
>>> - Found 0 groups for admin from resolver
>>> org.sakaiproject.coursemanagement.impl.provider.CourseSetRoleResolver
>>> 2013-06-13 17:34:57.693 [DEBUG]
>>> org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider:163
>>> - ______________getGroupRolesForUser={}
>>> 2013-06-13 17:35:32.936 [INFO]
>>> org.sakaiproject.poll.tool.params.PollToolBean:296 - about to delete option
>>> 2253
>>> 2013-06-13 17:35:32.956 [INFO]
>>> org.sakaiproject.poll.service.impl.PollListManagerImpl:326 - Option id 2253
>>> deleted
>>> 2013-06-13 17:35:33.411 [WARN]
>>> org.sakaiproject.email.impl.BasicEmailService:675 - send:
>>> javax.mail.internet.AddressException: Illegal address in string ``''
>>> 2013-06-13 17:35:37.296 [INFO]
>>> org.sakaiproject.poll.tool.params.PollToolBean:184 - Poll saved with id of
>>> 691
>>>
>>>
>>> Thank you in advance.
>>>
>>> S
>>>
>>>
>>> On Thu, Jun 13, 2013 at 5:05 PM, Steve Swinsburg <
>>> steve.swinsburg at gmail.com> wrote:
>>>
>>>> Sorry, phone typo. Send the full error. And do it on the mailing list
>>>> not directly to me.
>>>>
>>>> Cheers
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On 14/06/2013, at 7:48, Sanghyun Jeon <euksa99 at gmail.com> wrote:
>>>>
>>>> Sorry, I did not quite understand what you meant "Ca you end the full
>>>> error in Sakai.props. Also can you do all of this on list please."
>>>> Do I send you full tomcat error or sakai.properties?
>>>>
>>>> S
>>>>
>>>>
>>>> On Wed, Jun 12, 2013 at 8:39 PM, Steve Swinsburg <
>>>> steve.swinsburg at gmail.com> wrote:
>>>>
>>>>> Ca you end the full error in Sakai.props. Also can you do all of this
>>>>> on list please.
>>>>>
>>>>> Sent from my iPad
>>>>>
>>>>> On 13/06/2013, at 10:30, Sanghyun Jeon <euksa99 at gmail.com> wrote:
>>>>>
>>>>> In Sakai.properties we have the below info for our server info
>>>>>
>>>>> #serverId        = Sakai1               #Now in local.properties
>>>>> serverName       = Sakaitest.AISO.Claremont.Edu
>>>>> ui.institution   = The Claremont Colleges
>>>>> ui.service       = Claremont Collaborative Learning Environment
>>>>> version.service  = v2.8.x
>>>>> version.sakai    = 2.8.x
>>>>>
>>>>> serverUrl        = https://sakaitest.aiso.claremont.edu
>>>>> portalPath       = /portal
>>>>> accessPath       = /access
>>>>> helpPath         = /help
>>>>> toolPath         = /portal/tool
>>>>> gatewaySiteId    = !gateway
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Jun 12, 2013 at 4:13 PM, Steve Swinsburg <
>>>>> steve.swinsburg at gmail.com> wrote:
>>>>>
>>>>>> What's your hostname value in Sakai props?
>>>>>>
>>>>>> Sent from my iPad
>>>>>>
>>>>>> On 13/06/2013, at 1:55, Sanghyun Jeon <euksa99 at gmail.com> wrote:
>>>>>>
>>>>>> Can you send email notifications normally? ie from announcements?
>>>>>> --> YES
>>>>>> That error is likely to do with the email settings in sakai
>>>>>> properties. Can you post those, include the email address ones.
>>>>>> --> Does Polls has a separate email settings in sakai.properties?
>>>>>>  send: javax.mail.internet.AddressException: Illegal address in
>>>>>> string ``'' --> It seems to me email address is empty string.
>>>>>>
>>>>>> Below is all my email setting at sakai.properties
>>>>>> #############################################
>>>>>> # Email
>>>>>> ##########################
>>>>>>
>>>>>> smtp.enabled = true
>>>>>> smtp at org.sakaiproject.email.api.EmailService =
>>>>>> sakaitest.aiso.claremont.edu
>>>>>>
>>>>>> portal.error.email = sakai.bugs at pomona.edu
>>>>>>
>>>>>> setup.request = please-do-not-reply at claremont.edu
>>>>>>
>>>>>> notifyNewUserEmail    = true
>>>>>>
>>>>>>
>>>>>>
>>>>>> PS:
>>>>>> Announcement uses "setup.request = please-do-not-reply at claremont.edu"
>>>>>> Please let me know if I miss any email setting for polls
>>>>>> Thanks
>>>>>>
>>>>>> S
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 11, 2013 at 8:18 PM, Steve Swinsburg <
>>>>>> steve.swinsburg at gmail.com> wrote:
>>>>>>
>>>>>>> Can you send email notifications normally? ie from announcements?
>>>>>>> That error is likely to do with the email settings in sakai properties. Can
>>>>>>> you post those, include the email address ones.
>>>>>>>
>>>>>>> Cheers
>>>>>>> Steve
>>>>>>>
>>>>>>> Sent from my iPhone
>>>>>>>
>>>>>>> On 12/06/2013, at 10:35, Sanghyun Jeon <euksa99 at gmail.com> wrote:
>>>>>>>
>>>>>>> Hello All,
>>>>>>>
>>>>>>> After deleting an option with votes, we click to send email
>>>>>>> notification to the voters. However, the voter does not receive any email
>>>>>>> notification.
>>>>>>>
>>>>>>> To reproduce:
>>>>>>> click on Edit under an existing poll
>>>>>>> Click on delete next to one of the answers to the poll
>>>>>>> Choose to notify users that answer is being deleted and to vote
>>>>>>> again.
>>>>>>>
>>>>>>> The user who voted for that particular answer did not receive any
>>>>>>> email from Sakai telling him/her to vote again.
>>>>>>>
>>>>>>> Tomcat log shows
>>>>>>>
>>>>>>> 2013-06-11 17:22:41.986 [WARN]
>>>>>>> org.sakaiproject.email.impl.BasicEmailService:675 - send:
>>>>>>> javax.mail.internet.AddressException: Illegal address in string ``''
>>>>>>>
>>>>>>>
>>>>>>> I am wondering where I should dig first in order to resolve this
>>>>>>> problem...
>>>>>>>
>>>>>>> We are using polls 1.4.5-SNAPSHOT and parent is sakai-standard-tool
>>>>>>> 2.8.6 within Sakai 2.8_x_all
>>>>>>>
>>>>>>>
>>>>>>> Please shed some light on this, so that I can resolve this issue.
>>>>>>>
>>>>>>>
>>>>>>> Thank you.
>>>>>>>
>>>>>>>
>>>>>>> S
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130617/17e422de/attachment.html 


More information about the sakai-dev mailing list