Index: lams_bb_integration/RELEASE_NOTES.TXT =================================================================== RCS file: /usr/local/cvsroot/lams_bb_integration/RELEASE_NOTES.TXT,v diff -u -r1.23 -r1.24 --- lams_bb_integration/RELEASE_NOTES.TXT 18 Sep 2015 01:36:27 -0000 1.23 +++ lams_bb_integration/RELEASE_NOTES.TXT 18 Sep 2015 10:39:18 -0000 1.24 @@ -106,5 +106,6 @@ * LDEV-3456: Adding further POST support. 1.2.15 Release Fixes +1.2.16 Release Fixes ==================== * LDEV-3456: Adding new parameters to LAMSLearningDesign and StartLesson calls Index: lams_bb_integration/build.xml =================================================================== RCS file: /usr/local/cvsroot/lams_bb_integration/build.xml,v diff -u -r1.22 -r1.23 --- lams_bb_integration/build.xml 18 Sep 2015 01:36:27 -0000 1.22 +++ lams_bb_integration/build.xml 18 Sep 2015 10:39:18 -0000 1.23 @@ -2,7 +2,7 @@ - + Index: lams_bb_integration/WEB-INF/bb-manifest.xml =================================================================== RCS file: /usr/local/cvsroot/lams_bb_integration/WEB-INF/bb-manifest.xml,v diff -u -r1.27 -r1.28 --- lams_bb_integration/WEB-INF/bb-manifest.xml 18 Sep 2015 01:36:27 -0000 1.27 +++ lams_bb_integration/WEB-INF/bb-manifest.xml 18 Sep 2015 10:39:18 -0000 1.28 @@ -5,7 +5,7 @@ - + Index: lams_bb_integration/src/org/lamsfoundation/ld/integration/blackboard/StartLessonServlet.java =================================================================== RCS file: /usr/local/cvsroot/lams_bb_integration/src/org/lamsfoundation/ld/integration/blackboard/Attic/StartLessonServlet.java,v diff -u -r1.4 -r1.5 --- lams_bb_integration/src/org/lamsfoundation/ld/integration/blackboard/StartLessonServlet.java 18 Sep 2015 01:36:27 -0000 1.4 +++ lams_bb_integration/src/org/lamsfoundation/ld/integration/blackboard/StartLessonServlet.java 18 Sep 2015 10:39:18 -0000 1.5 @@ -50,8 +50,8 @@ import blackboard.portal.servlet.PortalUtil; /** - * Starts a lesson, returning the BB Content Id in JSON. Does exactly the same things (code is copied!) as start_lesson_proc. - * Had tried wrapping the jsp but encountered too many problems. + * Starts a lesson, returning the BB Content Id in JSON. Based on start_lesson_proc but uses the username + * parameter as a basis for identifying the user. * Return a server error rather than throw an exception as this will be consumed by AJAX call or the like. */ public class StartLessonServlet extends HttpServlet { @@ -79,14 +79,6 @@ // Set the new LAMS Lesson Content Object CourseDocument bbContent = new blackboard.data.content.CourseDocument(); - // Authorise current user for Course Control Panel (automatic redirect) - try { - if (!PlugInUtil.authorizeForCourseControlPanel(request, response)) - return; - } catch (PlugInException e) { - throw new RuntimeException(e); - } - // Retrieve the Db persistence manager from the persistence service BbPersistenceManager bbPm = BbServiceManager.getPersistenceService().getDbPersistenceManager(); @@ -226,6 +218,7 @@ } } catch (Exception e) { + logger.error("Unable to start lesson "+e.getMessage(), e); response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, "Unable to start lesson "+e.getMessage()); } finally { // make sure context is released