Details
Description
In Lessons if user has lessonbuilder.seeall but not lessonbuilder.upd on their role and they access a page with a linked assessment that has been deleted, they'll get a stack trace.
It looks like the error is in the
if (canSeeAll) where the entity is not rechecked for null. in any of these cases here.
Fatal internal error handling request: Target exception of class java.lang.NullPointerException Successive lines until stack trace show causes progressing to exception site: java.lang.NullPointerException at org.sakaiproject.lessonbuildertool.tool.producers.ShowPageProducer.fillComponents(ShowPageProducer.java:1606) at uk.org.ponder.rsf.view.support.ViewCollector.fillComponents(ViewCollector.java:56) at uk.org.ponder.rsf.view.support.LayoutCollector.fillComponents(LayoutCollector.java:68) at sun.reflect.GeneratedMethodAccessor2955.invoke(Unknown Source)
Gliffy Diagrams
Zeplin
Attachments
Issue Links
- relates to
-
SAK-37473 add permission for use by reviewer
-
- RESOLVED
-