Index: lams_bb_integration/RELEASE_NOTES.TXT
===================================================================
diff -u -r43d07bd0fe24199a988b13dae99c31e6b2dad6d8 -r75d2ded94027d995db66aec15219f187367968b2
--- lams_bb_integration/RELEASE_NOTES.TXT (.../RELEASE_NOTES.TXT) (revision 43d07bd0fe24199a988b13dae99c31e6b2dad6d8)
+++ lams_bb_integration/RELEASE_NOTES.TXT (.../RELEASE_NOTES.TXT) (revision 75d2ded94027d995db66aec15219f187367968b2)
@@ -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/WEB-INF/bb-manifest.xml
===================================================================
diff -u -r43d07bd0fe24199a988b13dae99c31e6b2dad6d8 -r75d2ded94027d995db66aec15219f187367968b2
--- lams_bb_integration/WEB-INF/bb-manifest.xml (.../bb-manifest.xml) (revision 43d07bd0fe24199a988b13dae99c31e6b2dad6d8)
+++ lams_bb_integration/WEB-INF/bb-manifest.xml (.../bb-manifest.xml) (revision 75d2ded94027d995db66aec15219f187367968b2)
@@ -5,7 +5,7 @@
-
+
Index: lams_bb_integration/build.xml
===================================================================
diff -u -r43d07bd0fe24199a988b13dae99c31e6b2dad6d8 -r75d2ded94027d995db66aec15219f187367968b2
--- lams_bb_integration/build.xml (.../build.xml) (revision 43d07bd0fe24199a988b13dae99c31e6b2dad6d8)
+++ lams_bb_integration/build.xml (.../build.xml) (revision 75d2ded94027d995db66aec15219f187367968b2)
@@ -2,7 +2,7 @@
-
+
Index: lams_bb_integration/src/org/lamsfoundation/ld/integration/blackboard/StartLessonServlet.java
===================================================================
diff -u -r43d07bd0fe24199a988b13dae99c31e6b2dad6d8 -r75d2ded94027d995db66aec15219f187367968b2
--- lams_bb_integration/src/org/lamsfoundation/ld/integration/blackboard/StartLessonServlet.java (.../StartLessonServlet.java) (revision 43d07bd0fe24199a988b13dae99c31e6b2dad6d8)
+++ lams_bb_integration/src/org/lamsfoundation/ld/integration/blackboard/StartLessonServlet.java (.../StartLessonServlet.java) (revision 75d2ded94027d995db66aec15219f187367968b2)
@@ -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