Editing Question copied from Question Pool redirects to broken Assessment page

Description

Clicking the Edit link next to a question after copying it from a Question Pool results in an error. The first two times (using Multiple Choice questions), Edit redirected to a broken Assessments page (Broken.png). The third time (Survey Matrix of Choice question) was an Error page, stack trace attached.

To Reproduce:

  1. In Question Pool tab, add a Multiple Choice question

  2. Enter necessary information

  3. Click Save

  4. Click Assessments tab, create a new assessment

  5. Insert a question: Copy from Question Pool

  6. Check box next to the question, click Copy

  7. Click Edit next to the question

org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: failed to populateItemBean.\ at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:80)\ caused by: org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: failed to populateItemBean.\ at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1457)\ caused by: javax.servlet.ServletException: failed to populateItemBean.\ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)\ caused by: java.lang.RuntimeException: failed to populateItemBean.\ at org.sakaiproject.tool.assessment.ui.listener.author.ItemModifyListener.processAction(ItemModifyListener.java:122)

Stacktrace doesn't help much because populateItemBean is returning false, and all of the logging is debug in this method (org.sakaiproject.tool.assessment.ui.listener.author)

Attachments

2
  • 25 Apr 2016, 01:30 PM
  • 25 Apr 2016, 01:29 PM

Activity

Show:

Matthew Jones October 25, 2016 at 9:53 AM

There is a temporary workaround for this if you don't update I believe it's something like

UPDATE SAM_ITEM_T SET SCORE = 0.0 WHERE SCORE IS NULL;

For some reason the score isn't being set, specifically on the items in SAM_QUESTIONPOOLITEM_T that are linked into here.

Neal Caidin June 3, 2016 at 2:19 PM
Edited

Thanks . That means that you verified the fix worked. Once an issue is on status Resolved/ Fixed that means one tests in trunk (aka master) to verify the fix.

I got the same result testing on nightly Oracle trunk / master
Sakai - TRUNK - Sakai 8a4a2fbfb78a0339aad8959e8b342ddfaea03cce) - Server ip-172-31-6-159

heather.valli June 3, 2016 at 2:08 PM

Attempted to test this in the mysql trunk. I could not reproduce it. (Mac 10.10.5, Chrome).

chaithanya noti May 31, 2016 at 1:15 PM

I can still reproduce the issue as well.

Tested in Trunk

https://trunk-mysql.nightly.sakaiproject.org.

Browser-- chrome, Os- windows 8.1

Raúl Sánchez Vegas May 30, 2016 at 3:38 AM

Hi

I can still reproduce it in https://trunk-oracle.nightly.sakaiproject.org/portal. Please see this video. Regards,

Raúl

Fixed

Details

Priority

Affects versions

Assignee

Reporter

Environment

http://qa01-sakai.marist.edu:8080/portal
Created April 25, 2016 at 1:37 PM
Updated April 17, 2018 at 8:39 AM
Resolved June 3, 2016 at 2:16 PM

Flag notifications