[Building Sakai] [Using Sakai] site creation authorizer email logic

Matthew Jones matthew at longsight.com
Thu Oct 25 19:29:37 PDT 2012


That line was added a long time ago (2006) in SAK-1575 revision 786. So I'm
guessing you won't get your answer . . . It certainly was before the
IS_CURRENT logic was added course course_management.  :)

I don't see the real point for it either, I don't' even know what the else
case would be, maybe Zhen remembers. Unless maybe if the term was already
past then your support staff didn't even care to be notified since these
courses didn't matter.

Minimally a property like sitemanage.notify.pastlterms and just set it to
false. :)

On Thu, Oct 25, 2012 at 7:56 PM, John Bush <john.bush at rsmart.com> wrote:

> SiteAction only sends the authorizer email when the term is current.
> Functionally, can someone explain this, why don't we want to notify
> people if the term is in the future?
>
>                         if (!isFutureTerm) {
>                                 for (Iterator iInstructors =
> authorizerList.iterator();
> iInstructors.hasNext();)
>                                 {
>                                         String instructorId = (String)
> iInstructors.next();
>                                         if (requireAuthorizer)
>                                         {
>                                                 // 1. email to course site
> authorizer
>                                                 boolean result =
> userNotificationProvider.notifyCourseRequestAuthorizer(instructorId,
> requestEmail, term != null? term.getTitle():"", requestSectionInfo,
> title, id, additional, productionSiteName);
>                                                 if (!result)
>                                                 {
>                                                         // append
> authorizer who doesn't received an notification
>
> authorizerNotNotified += instructorId + ", ";
>                                                 }
>                                                 else
>                                                 {
>                                                         // append
> authorizer who does received an notification
>                                                         authorizerNotified
> += instructorId + ", ";
>                                                 }
>
>                                         }
>                                 }
>                         }
>
> --
> John Bush
> 602-490-0470
> _______________________________________________
> sakai-user mailing list
> sakai-user at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-user
>
> TO UNSUBSCRIBE: send email to
> sakai-user-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/20121025/c4bcdd4f/attachment.html 


More information about the sakai-dev mailing list